[Bug 709373] New: camerabin: Filesink not closing file after stop-capture

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Oct 3 17:16:34 CEST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=709373
  GStreamer | gst-plugins-bad | git

           Summary: camerabin: Filesink not closing file after
                    stop-capture
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: oss at nvl.army.mil
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


After getting the video-done signal from camerabin, I would have expected to be
able to move or delete the resulting file, but am unable to do so. It seems
like filesink doesn't actually close the file until the READY_TO_NULL
transition, and camerabin doesn't set filesink to GST_STATE_NULL until
GstBaseCameraSrc changes ready-for-capture to false, i.e. just as a capture is
about to be started. It seems like the file should be closed before emitting
the video-done signal.

I'm not very familiar with the internals of camerabin, but perhaps we can set
the state of filesink to NULL then READY in
gst_camera_bin_video_reset_elements?

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