diff --git a/ChangeLog b/ChangeLog index aa48c19767..a43b95dff6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2006-12-21 Tim-Philipp Müller + + * gst/ffmpegcolorspace/gstffmpegcodecmap.c: + (gst_ffmpeg_caps_to_smpfmt): + The "signed" field in raw audio caps is of boolean type, trying to + extract the value with _get_int() will fail (fix to keep in sync with + the copy in gst-ffmpeg) + 2006-12-21 Stefan Kost * tests/check/elements/audioresample.c: (cleanup_audioresample): diff --git a/gst/ffmpegcolorspace/gstffmpegcodecmap.c b/gst/ffmpegcolorspace/gstffmpegcodecmap.c index 93a22040b1..b6b3ac0df0 100644 --- a/gst/ffmpegcolorspace/gstffmpegcodecmap.c +++ b/gst/ffmpegcolorspace/gstffmpegcodecmap.c @@ -472,7 +472,7 @@ gst_ffmpeg_caps_to_smpfmt (const GstCaps * caps, if (gst_structure_get_int (structure, "width", &width) && gst_structure_get_int (structure, "depth", &depth) && - gst_structure_get_int (structure, "signed", &signedness) && + gst_structure_get_boolean (structure, "signed", &signedness) && gst_structure_get_int (structure, "endianness", &endianness)) { if (width == 16 && depth == 16 && endianness == G_BYTE_ORDER && signedness == TRUE) {