[gstreamer-bugs] [Bug 631673] New: add "redirect" message to core

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Oct 8 05:52:22 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=631673
  GStreamer | gstreamer (core) | unspecified

           Summary: add "redirect" message to core
    Classification: Desktop
           Product: GStreamer
           Version: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: ensonic at sonicpulse.de
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


We now have already several plugins defining the redirect message.

$ find gst* -name "*.c" -exec grep -Hn "gst_structure_new (\"redirect\"" {} \;
gst-plugins-bad/ext/libmms/gstmms.c:449:            gst_structure_new
("redirect", "new-location", G_TYPE_STRING, url,
gst-plugins-bad/gst/sdp/gstsdpdemux.c:1372:                gst_structure_new
("redirect",
gst-plugins-good/gst/qtdemux/qtdemux.c:2754:              gst_structure_new
("redirect",
gst-plugins-good/gst/qtdemux/qtdemux.c:7067:    ref->structure =
gst_structure_new ("redirect",
gst-plugins-good/gst/qtdemux/qtdemux.c:7285:        gst_structure_new
("redirect",
gst-plugins-ugly/gst/realmedia/pnmsrc.c:201:      gst_structure_new
("redirect", "new-location", G_TYPE_STRING, url, NULL));

The message looks like this:

gst_message_new_element (element,
    gst_structure_new ("redirect",
        "new-location", G_TYPE_STRING, url, 
        NULL)));

Would be good to add this to core at some point. Then we can properly document
it. Tools like gst-launch could at least catch it and  print an error (or try
to handle it by iterating uri-handlers and try to set it).

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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