tsdemux: Fix the check for the wrong event type 99/263599/1 accepted/tizen/6.5/unified/20211029.013320 accepted/tizen/unified/20210907.121843 submit/tizen/20210907.025716 submit/tizen_6.5/20211028.163401 tizen_6.5.m2_release
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 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)