[Bug 753701] discoverer: Few trivial fixes in handling error cases

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Aug 18 02:15:26 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=753701

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #309434|none                        |needs-work
             status|                            |

--- Comment #9 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 309434:
 --> (https://bugzilla.gnome.org/review?bug=753701&attachment=309434)

::: tools/gst-discoverer.c
@@ +383,3 @@
 {
+  if (info) {
+    GstDiscovererResult result = gst_discoverer_info_get_result (info);

Instead of moving all the code around, just do

if (!info) {
  ...
  return;
}

// old code

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list