summaryrefslogtreecommitdiffstats
path: root/ext/resindvd
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2009-05-11 16:09:56 +0100
committerJan Schmidt <thaytan@noraisin.net>2009-05-11 17:04:10 +0100
commitd7cabb080134403871f7962bf226b36197b4d6c3 (patch)
treee02e66453b544a367c0839f61c2b9c2d25679f7e /ext/resindvd
parent4204b644ef31c498ba27847dec3e8d6dbfd4eedd (diff)
downloadgst-plugins-bad-d7cabb080134403871f7962bf226b36197b4d6c3.tar.gz
gst-plugins-bad-d7cabb080134403871f7962bf226b36197b4d6c3.tar.bz2
gst-plugins-bad-d7cabb080134403871f7962bf226b36197b4d6c3.zip
resindvd: Increase the amount of filler audio generated
When creating a filler audio buffer in rsnaudiomunge, generate a bit more, as audio sinks don't seem to preroll otherwise. This needs a better algorithm in general, to intelligently fill the gap, rather than hard-coding a value.
Diffstat (limited to 'ext/resindvd')
-rw-r--r--ext/resindvd/rsnaudiomunge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/resindvd/rsnaudiomunge.c b/ext/resindvd/rsnaudiomunge.c
index 6368c49a..50d33be7 100644
--- a/ext/resindvd/rsnaudiomunge.c
+++ b/ext/resindvd/rsnaudiomunge.c
@@ -318,9 +318,9 @@ rsn_audiomunge_sink_event (GstPad * pad, GstEvent * event)
GST_TIME_FORMAT " still-state=%d", GST_TIME_ARGS (segment->start),
GST_TIME_ARGS (segment->accum), munge->in_still);
- /* Just generate a 100ms silence buffer for now. FIXME: Fill the gap */
+ /* Just generate a 200ms silence buffer for now. FIXME: Fill the gap */
if (rsn_audiomunge_make_audio (munge, segment->start,
- GST_SECOND / 10) == GST_FLOW_OK)
+ GST_SECOND / 5) == GST_FLOW_OK)
munge->have_audio = TRUE;
} else {
GST_LOG_OBJECT (munge, "Not sending audio fill buffer: "