ext/faad/gstfaad.c: Set DURATION even if source buffer didn't. Also use increasing timestamps.

Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_chanpos_from_gst),
(gst_faad_chanpos_to_gst), (gst_faad_chain):
Set DURATION even if source buffer didn't. Also use increasing
timestamps.
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_audio_caps_with_data):
Block_align can have larger values than 8192.
This commit is contained in:
Ronald S. Bultje 2004-12-03 15:34:19 +00:00
parent e79f1b11b9
commit bfd5e47553
2 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,13 @@
2004-12-03 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* ext/faad/gstfaad.c: (gst_faad_chanpos_from_gst),
(gst_faad_chanpos_to_gst), (gst_faad_chain):
Set DURATION even if source buffer didn't. Also use increasing
timestamps.
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_audio_caps_with_data):
Block_align can have larger values than 8192.
2004-12-02 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/law/alaw-decode.c: (alawdec_getcaps), (alawdec_link):

View file

@ -514,7 +514,7 @@ gst_riff_create_audio_caps_with_data (guint16 codec_id,
}
if (block_align) {
gst_caps_set_simple (caps,
"block_align", GST_TYPE_INT_RANGE, 1, 8192, NULL);
"block_align", GST_TYPE_INT_RANGE, 1, G_MAXINT, NULL);
}
}