diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-07-08 13:28:51 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-07-08 13:28:51 +0000 |
commit | 58bc2cae2eef58f1b0e3d02a6a1c9d1efbf1f82a (patch) | |
tree | ea7dafaa2e89e4befea8978e64d080f60677f3a4 /ext/timidity | |
parent | 229f3b295a58926a24be1874c0cdefefc182d920 (diff) | |
download | gstreamer-plugins-bad-58bc2cae2eef58f1b0e3d02a6a1c9d1efbf1f82a.tar.gz |
ext/: Don't use declarations after statements.
Original commit message from CVS:
Patch by:
Jonathan Rosser <jonathan dot rosser at rd dot bbc dot co dot uk>
* ext/metadata/metadataexif.c: (metadataparse_handle_unit_tags):
* ext/metadata/metadataxmp.c:
(metadataparse_xmp_iter_add_to_tag_list):
* ext/mythtv/gstmythtvsrc.c: (gst_mythtv_src_start):
* ext/timidity/gstwildmidi.c: (gst_wildmidi_loop):
Don't use declarations after statements.
Diffstat (limited to 'ext/timidity')
-rw-r--r-- | ext/timidity/gstwildmidi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/timidity/gstwildmidi.c b/ext/timidity/gstwildmidi.c index b8f72aa80..fa5b89d30 100644 --- a/ext/timidity/gstwildmidi.c +++ b/ext/timidity/gstwildmidi.c @@ -759,9 +759,11 @@ gst_wildmidi_loop (GstPad * sinkpad) } if (wildmidi->o_segment_changed) { + GstSegment *segment; + GST_DEBUG_OBJECT (wildmidi, "segment changed"); - GstSegment *segment = gst_wildmidi_get_segment (wildmidi, GST_FORMAT_TIME, + segment = gst_wildmidi_get_segment (wildmidi, GST_FORMAT_TIME, !wildmidi->o_new_segment); GST_LOG_OBJECT (wildmidi, |