Set buffer durations on IEC958 buffers.

Original commit message from CVS:
Set buffer durations on IEC958 buffers.
This commit is contained in:
Michael Smith 2005-10-17 17:50:45 +00:00
parent e741775960
commit a481b8e531
3 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-10-17 Michael Smith <msmith@fluendo.com>
* gst/iec958/ac3iec.c: (ac3iec_chain_raw):
Set buffer duration on IEC958 buffers.
2005-10-16 Tim-Philipp Müller <tim at centricular dot net> 2005-10-16 Tim-Philipp Müller <tim at centricular dot net>
* configure.ac: * configure.ac:

2
common

@ -1 +1 @@
Subproject commit 3a9d355b657cf710011aa1eaadd64f6723527e14 Subproject commit cf363b3ae6ce3c4a84a561e04ffc4e3b37435a61

View file

@ -329,6 +329,7 @@ ac3iec_chain_raw (GstPad * pad, GstBuffer * buf)
/* Set the timestamp. */ /* Set the timestamp. */
GST_BUFFER_TIMESTAMP (new) = ac3iec->cur_ts; GST_BUFFER_TIMESTAMP (new) = ac3iec->cur_ts;
GST_BUFFER_DURATION (new) = IEC958_FRAME_DURATION;
ac3iec->cur_ts = GST_CLOCK_TIME_NONE; ac3iec->cur_ts = GST_CLOCK_TIME_NONE;
GST_LOG_OBJECT (ac3iec, "Pushing IEC958 buffer of size %d", GST_LOG_OBJECT (ac3iec, "Pushing IEC958 buffer of size %d",