summaryrefslogtreecommitdiffstats
path: root/ext/dts
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dts')
-rw-r--r--ext/dts/gstdtsdec.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/ext/dts/gstdtsdec.c b/ext/dts/gstdtsdec.c
index b6e526e5..0b9aeae5 100644
--- a/ext/dts/gstdtsdec.c
+++ b/ext/dts/gstdtsdec.c
@@ -333,27 +333,6 @@ gst_dtsdec_handle_event (GstDtsDec * dts, GstEvent * event)
dts->cache = NULL;
}
break;
- case GST_EVENT_FILLER:{
- /* Transform filler to always have timestamp + duration */
- GstClockTime end_ts = GST_EVENT_TIMESTAMP (event);
- GstClockTime dur = gst_event_filler_get_duration (event);
-
- if (!GST_CLOCK_TIME_IS_VALID (end_ts))
- end_ts = dts->current_ts;
-
- if (GST_CLOCK_TIME_IS_VALID (dur))
- end_ts += dur;
-
- dur = GST_CLOCK_DIFF (end_ts, dts->current_ts);
-
- gst_event_unref (event);
-
- if (dur <= 0)
- return;
-
- event = gst_event_new_filler_stamped (dts->current_ts, dur);
- dts->current_ts = end_ts;
- }
default:
break;