mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
gst/playback/gstdecodebin.c: Fix non-C89 variable declaration not at the start of a block. Should help some compilers.
Original commit message from CVS: * gst/playback/gstdecodebin.c: (new_pad): Fix non-C89 variable declaration not at the start of a block. Should help some compilers.
This commit is contained in:
parent
097f448b19
commit
f447d9a6d9
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2005-12-29 Michael Smith <msmith@fluendo.com>
|
||||||
|
|
||||||
|
* gst/playback/gstdecodebin.c: (new_pad):
|
||||||
|
Fix non-C89 variable declaration not at the start of a block. Should
|
||||||
|
help some compilers.
|
||||||
|
|
||||||
2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
|
2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* tests/check/Makefile.am:
|
* tests/check/Makefile.am:
|
||||||
|
|
|
@ -973,6 +973,7 @@ new_pad (GstElement * element, GstPad * pad, GstDynamic * dynamic)
|
||||||
{
|
{
|
||||||
GstDecodeBin *decode_bin = dynamic->decode_bin;
|
GstDecodeBin *decode_bin = dynamic->decode_bin;
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
|
gboolean more;
|
||||||
|
|
||||||
GST_OBJECT_LOCK (decode_bin);
|
GST_OBJECT_LOCK (decode_bin);
|
||||||
if (decode_bin->shutting_down)
|
if (decode_bin->shutting_down)
|
||||||
|
@ -984,7 +985,7 @@ new_pad (GstElement * element, GstPad * pad, GstDynamic * dynamic)
|
||||||
goto shutting_down2;
|
goto shutting_down2;
|
||||||
|
|
||||||
/* see if any more pending dynamic connections exist */
|
/* see if any more pending dynamic connections exist */
|
||||||
gboolean more = gst_decode_bin_is_dynamic (decode_bin);
|
more = gst_decode_bin_is_dynamic (decode_bin);
|
||||||
|
|
||||||
caps = gst_pad_get_caps (pad);
|
caps = gst_pad_get_caps (pad);
|
||||||
close_pad_link (element, pad, caps, decode_bin, more);
|
close_pad_link (element, pad, caps, decode_bin, more);
|
||||||
|
|
Loading…
Reference in a new issue