[Bug 687845] New: filesrc fails to open file

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Nov 7 06:02:28 PST 2012


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

           Summary: filesrc fails to open file
    Classification: Platform
           Product: GStreamer
           Version: 1.0.2
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: fcosta87 at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Using the following pipeline filesrc fails to open file:

filesrc location=/dev/dvb/adapter0/dvr0 ! tsdemux ! h264parser ! avdec_h264 !
xvimagesink

The output from the log is the following:


0:00:00.221212462  4545  0x9527460 ERROR                basesrc
gstbasesrc.c:3278:gst_base_src_start_complete:<file-source> Cannot operate in
pull mode, stopping
0:00:00.221289531  4545  0x9527460 WARN                 filesrc
gstfilesrc.c:513:gst_file_src_start:<file-source> error: No se pudo abrir el
archivo «/dev/dvb/adapter0/dvr0» para leer.
0:00:00.221306784  4545  0x9527460 WARN                 filesrc
gstfilesrc.c:513:gst_file_src_start:<file-source> error: system error:
Dispositivo o recurso ocupado
0:00:00.221336008  4545  0x9527460 WARN                 basesrc
gstbasesrc.c:3509:gst_base_src_activate_push:<file-source> Failed to start in
push mode
0:00:00.221349720  4545  0x9527460 WARN                GST_PADS
gstpad.c:974:gst_pad_set_active:<file-source:src> Failed to activate pad

I read the code in gstfilesrc.c and realized that if pull mode fails it doesn't
close the file before triying to re-open it in push-mode.

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