[gstreamer-bugs] [Bug 336839] New: [patch] seek option for gstfakesink

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Apr 1 06:13:31 PST 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=336839
 GStreamer | gstreamer (core) | Ver: HEAD CVS

           Summary: [patch] seek option for gstfakesink
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: torri at iecn.u-nancy.fr
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


I have written a small sink that allow to get the buffer corresponding to some
frame. Wim told me to add it as an option of the fakesink element.

so, here are 3 patch, for gstfakesink.c, gstfakesink.h and Makefile.am

Some comments : 

1) The api is in gstfakesink.[c/h]. So, in Makefile.am, I install
gstfakesink.h. It's certainly not the good solution, as the applications must
know where gstcoreelements.so is located. If some has an idea about that...
2) I have added several members in the GstFakeSink structure. Should I provide
default values for all of them (like #define DEFAULT_Frame_NBR 0, for example)
?

I also provide a test example that show how to use it

Finally, one question : is it normal that, when I seek to frame 0, the
timestamp of the buffer that gstreamer returns is > 0 ( that it, 1 / fps
exactly)


-- 
Configure bugmail: http://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