tsdemux: Fix the check for the wrong event type 00/263600/1 accepted/tizen/6.0/unified/20210907.065101 submit/tizen_6.0/20210907.025702
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:35:28 +0000 (10:35 +0900)
Change-Id: I54222748b3432b5f76392bb6567b0359c43dbb90

gst/mpegtsdemux/tsdemux.c

index 9431b1a4c1dfe96ea7dd49bb93e8c45b0394c8e8..8aa6d0358fd13423ccafd815c68e26deabb21fa5 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)