mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
ext/mythtv/gstmythtvsrc.c: Use break here instead of goto.
Original commit message from CVS: * ext/mythtv/gstmythtvsrc.c: (gst_mythtv_src_set_property): Use break here instead of goto.
This commit is contained in:
parent
fbf13cbbf1
commit
a43720466a
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* ext/mythtv/gstmythtvsrc.c: (gst_mythtv_src_set_property):
|
||||
Use break here instead of goto.
|
||||
|
||||
2007-01-13 Andy Wingo <wingo@pobox.com>
|
||||
|
||||
* gst/interleave/deinterleave.c (gst_deinterleave_add_new_pads):
|
||||
|
|
|
@ -1105,7 +1105,7 @@ gst_mythtv_src_set_property (GObject * object, guint prop_id,
|
|||
{
|
||||
if (!g_value_get_string (value)) {
|
||||
GST_WARNING ("location property cannot be NULL");
|
||||
goto done;
|
||||
break;
|
||||
}
|
||||
|
||||
if (mythtvsrc->uri_name != NULL) {
|
||||
|
@ -1147,7 +1147,7 @@ gst_mythtv_src_set_property (GObject * object, guint prop_id,
|
|||
{
|
||||
if (!g_value_get_string (value)) {
|
||||
GST_WARNING ("MythTV Live chainid property cannot be NULL");
|
||||
goto done;
|
||||
break;
|
||||
}
|
||||
|
||||
if (mythtvsrc->live_chain_id != NULL) {
|
||||
|
@ -1167,7 +1167,6 @@ gst_mythtv_src_set_property (GObject * object, guint prop_id,
|
|||
break;
|
||||
}
|
||||
|
||||
done:
|
||||
GST_OBJECT_UNLOCK (mythtvsrc);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue