diff options
-rw-r--r-- | ChangeLog | 18 | ||||
-rw-r--r-- | ext/dts/gstdtsdec.c | 21 |
2 files changed, 18 insertions, 21 deletions
@@ -1,3 +1,21 @@ +2005-04-16 Jan Schmidt,,, <thaytan@mad.scientist.com> + + * ext/a52dec/gsta52dec.c: (gst_a52dec_handle_event): + * ext/dts/gstdtsdec.c: (gst_dtsdec_handle_event): + Take filler handling back out. Decoders shouldn't need to. + + * gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_handle_dvd_event), + (gst_dvd_demux_handle_discont): + * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_send_discont), + (gst_mpeg_demux_init_stream), (gst_mpeg_demux_send_subbuffer), + (gst_mpeg_demux_synchronise_pads), + (gst_mpeg_demux_sync_stream_to_time): + * gst/mpegstream/gstmpegdemux.h: + * gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_parse_packhead): + Use a combination of SCR and PTS to detect when a pad needs filler + events. + Fix discont handling so seeking works. + 2005-04-15 Thomas Vander Stichele <thomas at apestaart dot org> * ext/raw1394/gstdv1394src.c: 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; |