From: <tp...@ke...> - 2007-01-17 17:29:21
|
CVS Root: /cvs/gstreamer Module: gst-plugins-bad Changes by: tpm Date: Wed Jan 17 2007 17:29:16 UTC Log message: * ext/mythtv/gstmythtvsrc.c: (gst_mythtv_src_set_property): Use break here instead of goto. Modified files: . : ChangeLog ext/mythtv : gstmythtvsrc.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/ChangeLog.diff?r1=1.2390&r2=1.2391 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/ext/mythtv/gstmythtvsrc.c.diff?r1=1.2&r2=1.3 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gst-plugins-bad/ChangeLog,v retrieving revision 1.2390 retrieving revision 1.2391 diff -u -d -r1.2390 -r1.2391 --- ChangeLog 13 Jan 2007 19:12:32 -0000 1.2390 +++ ChangeLog 17 Jan 2007 17:29:04 -0000 1.2391 @@ -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 <wi...@po...> * gst/interleave/deinterleave.c (gst_deinterleave_add_new_pads): Index: gstmythtvsrc.c RCS file: /cvs/gstreamer/gst-plugins-bad/ext/mythtv/gstmythtvsrc.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- gstmythtvsrc.c 13 Jan 2007 12:37:55 -0000 1.2 +++ gstmythtvsrc.c 17 Jan 2007 17:29:04 -0000 1.3 @@ -1105,7 +1105,7 @@ { 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_WARNING ("MythTV Live chainid property cannot be NULL"); if (mythtvsrc->live_chain_id != NULL) { @@ -1167,7 +1167,6 @@ break; } -done: GST_OBJECT_UNLOCK (mythtvsrc); } |