ext/a52dec/gsta52dec.c: Set up a default time segment for output when receiving an incoming byte segment (as for raw ...

Original commit message from CVS:
* ext/a52dec/gsta52dec.c:
Set up a default time segment for output when receiving
an incoming byte segment (as for raw AC3 files).
Fixes: #548194
This commit is contained in:
Jan Schmidt 2008-08-26 15:35:43 +00:00
parent 4f1c7a82e6
commit 1ed8b1a8e6
3 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2008-08-26 Jan Schmidt <jan.schmidt@sun.com>
* ext/a52dec/gsta52dec.c:
Set up a default time segment for output when receiving
an incoming byte segment (as for raw AC3 files).
Fixes: #548194
2008-08-12 Jan Schmidt <jan.schmidt@sun.com>
* configure.ac:

2
common

@ -1 +1 @@
Subproject commit d70ca17ae6fbe6020996e4567275d5e14972ed45
Subproject commit 8d494854a6018336a80ece82ceb3df0033e2da9c

View file

@ -492,7 +492,10 @@ gst_a52dec_sink_event (GstPad * pad, GstEvent * event)
event, gst_format_get_name (fmt));
gst_event_unref (event);
a52dec->sent_segment = FALSE;
/* set some dummy values, FIXME do proper conversion */
/* set some dummy values, FIXME: do proper conversion */
a52dec->time = start = pos = 0;
fmt = GST_FORMAT_TIME;
end = -1;
} else {
a52dec->time = start;
a52dec->sent_segment = TRUE;