tsdemux: apply avoid pad switching option 94/199894/1 accepted/tizen/unified/20190218.163159 submit/tizen/20190218.050902
authorEunhae Choi <eunhae1.choi@samsung.com>
Fri, 15 Feb 2019 08:41:10 +0000 (17:41 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Fri, 15 Feb 2019 08:41:12 +0000 (17:41 +0900)
- this was modified for adaptive streaming with avoid pad switching option.
  it have to be included if the avoid pad switching option is disabled.

Change-Id: I0aac51d334400c4bfc7d56b7cb59c7ac5ae64475

gst/mpegtsdemux/mpegtsbase.c

index 30a3b6af745b1f0095def66a6f096bd77534850f..e492cabf7248f29c9a6e14b0f0e3c900a6cc1138 100644 (file)
@@ -1515,7 +1515,7 @@ mpegts_base_chain (GstPad * pad, GstObject * parent, GstBuffer * buf)
     if (base->mode == BASE_MODE_PUSHING
         && base->segment.format == GST_FORMAT_TIME) {
       mpegts_packetizer_flush (base->packetizer, TRUE);
-#ifndef TIZEN_FEATURE_TSDEMUX_MODIFICATION
+#ifndef TIZEN_FEATURE_AVOID_PAD_SWITCHING
       /* NOTE:
        * If use decodebin3/playbin3, it will be include.
        * commit fb36608ccd95004b3c2b38d6451c009fbad899b6