summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/mythtv/gstmythtvsrc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/mythtv/gstmythtvsrc.c b/ext/mythtv/gstmythtvsrc.c
index f65bbed7..7894b5a2 100644
--- a/ext/mythtv/gstmythtvsrc.c
+++ b/ext/mythtv/gstmythtvsrc.c
@@ -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);
}