[gstreamer-bugs] [Bug 464419] oggmux needs to handle seek-event
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Thu Aug 9 05:32:16 PDT 2007
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=464419
GStreamer | gst-plugins-base | Ver: HEAD CVS
------- Comment #2 from Stefan Kost (gstreamer, gtkdoc dev) 2007-08-09 12:32 UTC -------
When I just comment out the special seek handling in
gst_ogg_mux_handle_src_event() (so that is uses gst_pad_event_default(), then
it handles EOS, but the file is broken (see comment #1)
this is patched and 2nd example is default (cvs version). whats the problem
here. Why does the code triggered on eos create broken files?
> GST_DEBUG="*:2,vorbisenc:3,oggmux:4" ./bt-cmd --command=encode --input-file=../share/buzztard/songs/melo1.xml --output-file=$HOME/temp/melo1.ogg
0:00:00.577449000 6392 0x804fe08 DEBUG oggmux
gstoggmux.c:411:gst_ogg_mux_request_new_pad:<oggmux> Creating new pad for
serial 946497966
0:00:00.578297000 6392 0x804fe08 DEBUG oggmux
gstoggmux.c:371:gst_ogg_mux_sinkconnect:<oggmux> sinkconnect triggered on
sink_946497966
0:00:01.043822000 6392 0x81a08c0 DEBUG oggmux
gstoggmux.c:811:gst_ogg_mux_queue_pads:<oggmux> got incaps buffer in control
state, ignoring
0:00:01.043954000 6392 0x81a08c0 DEBUG oggmux
gstoggmux.c:1551:gst_ogg_mux_collected:<oggmux> No buffer available on best pad
0:00:01.044026000 6392 0x81a08c0 DEBUG oggmux
gstoggmux.c:811:gst_ogg_mux_queue_pads:<oggmux> got incaps buffer in control
state, ignoring
0:00:01.044088000 6392 0x81a08c0 DEBUG oggmux
gstoggmux.c:1551:gst_ogg_mux_collected:<oggmux> No buffer available on best pad
0:00:01.044154000 6392 0x81a08c0 DEBUG oggmux
gstoggmux.c:811:gst_ogg_mux_queue_pads:<oggmux> got incaps buffer in control
state, ignoring
0:00:01.044214000 6392 0x81a08c0 DEBUG oggmux
gstoggmux.c:1551:gst_ogg_mux_collected:<oggmux> No buffer available on best pad
0:00:01.045499000 6392 0x81a08c0 DEBUG oggmux
gstoggmux.c:817:gst_ogg_mux_queue_pads:<oggmux> got data buffer in control
state, switching to data mode
0:00:01.045565000 6392 0x81a08c0 DEBUG oggmux
gstoggmux.c:1551:gst_ogg_mux_collected:<oggmux> No buffer available on best pad
0:00:01.186734000 6392 0x8259fd8 WARN pipeline
gstpipeline.c:491:gst_pipeline_change_state:<song> failed to query pipeline
latency
00:07.25
00:00:02.140397000 6392 0x819acc8 DEBUG oggmux
gstoggmux.c:823:gst_ogg_mux_queue_pads:<oggmux:sink_946497966> EOS on pad
0:00:02.140522000 6392 0x819acc8 DEBUG oggmux
gstoggmux.c:1399:gst_ogg_mux_process_best_pad:<oggmux:sink_946497966> swapping
in EOS packet
0:00:02.140603000 6392 0x819acc8 DEBUG oggmux
gstoggmux.c:823:gst_ogg_mux_queue_pads:<oggmux:sink_946497966> EOS on pad
0:00:02.140667000 6392 0x819acc8 DEBUG oggmux
gstoggmux.c:1578:gst_ogg_mux_collected:<oggmux> Pushing EOS
00:08.000
ensonic at hoshi:~/buzztard/bin> GST_DEBUG="*:2,vorbisenc:3,oggmux:4" ./bt-cmd
--command=encode --input-file=../share/buzztard/songs/melo1.xml
--output-file=$HOME/temp/melo1.ogg
0:00:00.389443000 8135 0x804fe08 DEBUG oggmux
gstoggmux.c:411:gst_ogg_mux_request_new_pad:<oggmux> Creating new pad for
serial 1264230769
0:00:00.389734000 8135 0x804fe08 DEBUG oggmux
gstoggmux.c:371:gst_ogg_mux_sinkconnect:<oggmux> sinkconnect triggered on
sink_1264230769
0:00:00.935608000 8135 0x81a05c0 DEBUG oggmux
gstoggmux.c:811:gst_ogg_mux_queue_pads:<oggmux> got incaps buffer in control
state, ignoring
0:00:00.935749000 8135 0x81a05c0 DEBUG oggmux
gstoggmux.c:1551:gst_ogg_mux_collected:<oggmux> No buffer available on best pad
0:00:00.935828000 8135 0x81a05c0 DEBUG oggmux
gstoggmux.c:811:gst_ogg_mux_queue_pads:<oggmux> got incaps buffer in control
state, ignoring
0:00:00.935896000 8135 0x81a05c0 DEBUG oggmux
gstoggmux.c:1551:gst_ogg_mux_collected:<oggmux> No buffer available on best pad
0:00:00.935968000 8135 0x81a05c0 DEBUG oggmux
gstoggmux.c:811:gst_ogg_mux_queue_pads:<oggmux> got incaps buffer in control
state, ignoring
0:00:00.936034000 8135 0x81a05c0 DEBUG oggmux
gstoggmux.c:1551:gst_ogg_mux_collected:<oggmux> No buffer available on best pad
0:00:00.937328000 8135 0x81a05c0 DEBUG oggmux
gstoggmux.c:817:gst_ogg_mux_queue_pads:<oggmux> got data buffer in control
state, switching to data mode
0:00:00.937401000 8135 0x81a05c0 DEBUG oggmux
gstoggmux.c:1551:gst_ogg_mux_collected:<oggmux> No buffer available on best pad
0:00:00.939392000 8135 0x804fe08 WARN bt-core
song.c:448:on_song_state_changed: bin failed to handle seek event
0:00:00.939665000 8135 0x804fe08 WARN pipeline
gstpipeline.c:491:gst_pipeline_change_state:<song> failed to query pipeline
latency
00:08.125
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=464419.
More information about the Gstreamer-bugs
mailing list