mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
gst/dvdsub/gstdvdsubdec.c: which happens when you use macros that got changed during the last unstable cycle because ...
Original commit message from CVS: Patch by: Frédéric Riss <frederic.riss at gmail com> * gst/dvdsub/gstdvdsubdec.c: (gst_send_subtitle_frame): Don't set negative durations on outgoing buffers (#350044), which happens when you use macros that got changed during the last unstable cycle because they were thought not to be used anywhere.
This commit is contained in:
parent
f2d8084635
commit
3c862cf828
2 changed files with 11 additions and 1 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2006-08-07 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
Patch by: Frédéric Riss <frederic.riss at gmail com>
|
||||||
|
|
||||||
|
* gst/dvdsub/gstdvdsubdec.c: (gst_send_subtitle_frame):
|
||||||
|
Don't set negative durations on outgoing buffers (#350044),
|
||||||
|
which happens when you use macros that got changed during
|
||||||
|
the last unstable cycle because they were thought not to
|
||||||
|
be used anywhere.
|
||||||
|
|
||||||
2006-08-06 Tim-Philipp Müller <tim at centricular dot net>
|
2006-08-06 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_stop),
|
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_stop),
|
||||||
|
|
|
@ -664,7 +664,7 @@ gst_send_subtitle_frame (GstDvdSubDec * dec, GstClockTime end_ts)
|
||||||
GST_BUFFER_SIZE (dec->out_buffer));
|
GST_BUFFER_SIZE (dec->out_buffer));
|
||||||
|
|
||||||
GST_BUFFER_TIMESTAMP (out_buf) = dec->next_ts;
|
GST_BUFFER_TIMESTAMP (out_buf) = dec->next_ts;
|
||||||
GST_BUFFER_DURATION (out_buf) = GST_CLOCK_DIFF (end_ts, dec->next_ts);
|
GST_BUFFER_DURATION (out_buf) = GST_CLOCK_DIFF (dec->next_ts, end_ts);
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (dec, "Sending subtitle buffer with ts %"
|
GST_DEBUG_OBJECT (dec, "Sending subtitle buffer with ts %"
|
||||||
GST_TIME_FORMAT ", dur %" G_GINT64_FORMAT,
|
GST_TIME_FORMAT ", dur %" G_GINT64_FORMAT,
|
||||||
|
|
Loading…
Reference in a new issue