[Bug 762005] New: [rtspsrc] Cannot get location property value

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Feb 13 20:01:39 UTC 2016


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

            Bug ID: 762005
           Summary: [rtspsrc] Cannot get location property value
    Classification: Platform
           Product: GStreamer
           Version: 1.6.3
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: nnoell3 at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Hi,

It is not possible to get rtspsrc's location value with gstreamer 1.6.3. The
following code prints null instead of "value".


#include <gst/gst.h>

int main(int argc, char *argv[]) {
  gst_init(&argc, &argv);

  GstElement *element = gst_element_factory_make("rtspsrc", NULL);
  g_object_set(G_OBJECT(element), "location", "value", NULL);

  gchar *location;
  g_object_get(G_OBJECT(element), "location", &location, NULL);
  g_print("%s\n", location);

  g_free(location);
  gst_object_unref(GST_OBJECT(element));
  gst_deinit();
  return 0;
}

-- 
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