tsdemux: Fix the check for the wrong event type
authorGilbok Lee <gilbok.lee@samsung.com>
Tue, 7 Sep 2021 01:34:49 +0000 (10:34 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Tue, 7 Sep 2021 01:34:49 +0000 (10:34 +0900)
Change-Id: I54222748b3432b5f76392bb6567b0359c43dbb90

gst/mpegtsdemux/tsdemux.c

index 9431b1a..8aa6d03 100644 (file)
@@ -1030,7 +1030,7 @@ push_event (MpegTSBase * base, GstEvent * event)
       }
     }
 
-    if (GST_EVENT_TYPE (event) == GST_EVENT_TAG) {
+    if (GST_EVENT_TYPE (event) == GST_EVENT_CUSTOM_DOWNSTREAM) {
       const GstStructure *st = gst_event_get_structure (event);
       if (gst_structure_has_name (st, "GstHLSMedia")) {
         if (demux->pending_custom_event)