Skip to content
  • Seungha Yang's avatar
    discoverer: Hold GSource object instead of source id · b32b59ce
    Seungha Yang authored
    g_source_remove() works only for a GSource which was attached
    to default GMainContext, but the GSource might be attached to
    custom context depending on how gst_discoverer_start() was called.
    
    Whatever the attached context was, g_source_destroy() can clean it up.
    b32b59ce