tuituji / ossbuild

Automatically exported from code.google.com/p/ossbuild
Other
0 stars 0 forks source link

dshowvideosink can't recover from a a device disconnection #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1)launch:
videotestsrc ! ffmpegcolorspace ! dshowvideosink
2)press ctrl+alt+sup
3)Get back to the desktop

Log:

sink0> Done pushing buffer through fakesrc->renderer: ok
0:00:04.749272000  3772   0191AAA8 DEBUG         dshowvideosink 
dshowvideosink.cpp:1386:gst_dshowvideosink_render:<dshowvideosink0> Pushing 
buffer through fakesrc->renderer
0:00:04.792274000  3772   0191AB08 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:359:VideoFakeSrc::Stop:018E4010 Stop()
0:00:04.793274000  3772   0191AB08 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:216:VideoFakeSrcPin::Inactive:0192C038 Pin going inactive
0:00:04.794274000  3772   0191AB08 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:218:VideoFakeSrcPin::Inactive:0192C038 Pin inactivated
0:00:04.794274000  3772   0191AB08 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:208:VideoFakeSrcPin::Disconnect:0192C038 Disconnecting pin
0:00:04.795274000  3772   0191AB08 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:224:VideoFakeSrcPin::BreakConnect:0192C038 Breaking 
connection
0:00:04.796274000  3772   0191AB08 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:226:VideoFakeSrcPin::BreakConnect:0192C038 Connection 
broken
0:00:04.807275000  3772   0191AB08 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:210:VideoFakeSrcPin::Disconnect:0192C038 Pin disconnected
0:00:04.824276000  3772   0191AB08 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:41:VideoFakeSrcPin::GetMediaType: GetMediaType(0) called
0:00:04.825276000  3772   0191AB08 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:54:VideoFakeSrcPin::CheckMediaType: CheckMediaType 
called: 0032CBD0
0:00:04.825276000  3772   0191AB08 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:75:VideoFakeSrcPin::CheckMediaType: CheckMediaType has 
same media type, width 2560 (2560 image)
0:00:04.830276000  3772   0191AB08 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:232:VideoFakeSrcPin::CompleteConnect:0192C038 Completing 
connection
0:00:04.831276000  3772   0191AB08 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:95:VideoFakeSrcPin::DecideBufferSize: Required allocator 
properties: 1, 0, 0, 0
0:00:04.831276000  3772   0191AB08 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:54:VideoFakeSrcPin::CheckMediaType: CheckMediaType 
called: 01968914
0:00:04.832276000  3772   0191AB08 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:75:VideoFakeSrcPin::CheckMediaType: CheckMediaType has 
same media type, width 2560 (2560 image)
0:00:04.833276000  3772   0191AB08 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:104:VideoFakeSrcPin::DecideBufferSize: Actual Allocator 
properties: 1, 1228800, 0, 1
0:00:04.834277000  3772   0191AB08 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:108:VideoFakeSrcPin::DecideBufferSize: Allocator commit 
returned 8007000e
0:00:04.834277000  3772   0191AB08 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:234:VideoFakeSrcPin::CompleteConnect:0192C038 Completed 
connection: 0
0:00:04.835277000  3772   0191AB08 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:367:VideoFakeSrc::Pause:018E4010 Pause()
0:00:04.836277000  3772   0191AB08 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:359:VideoFakeSrc::Stop:018E4010 Stop()
0:00:04.837277000  3772   0191AB08 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:376:VideoFakeSrc::Run:018E4010 Run()
0:00:04.838277000  3772   0191AB08 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:367:VideoFakeSrc::Pause:018E4010 Pause()
0:00:04.837277000  3772   0191AAD8 LOG           dshowvideosink 
dshowvideosink.cpp:462:WndProc:<dshowvideosink0> GRAPH_NOTIFY WINDOW MESSAGE
0:00:04.840277000  3772   0191AAD8 INFO          dshowvideosink 
dshowvideosink.cpp:409:gst_dshowvideosink_handle_event:<dshowvideosink0> 
Received DirectShow graph event code 0xe
0:00:04.840277000  3772   0191AAD8 INFO          dshowvideosink 
dshowvideosink.cpp:409:gst_dshowvideosink_handle_event:<dshowvideosink0> 
Received DirectShow graph event code 0x3
0:00:04.841277000  3772   0191AAD8 LOG           dshowvideosink 
dshowvideosink.cpp:462:WndProc:<dshowvideosink0> GRAPH_NOTIFY WINDOW MESSAGE
0:00:05.792331000  3772   0191AAA8 WARN          dshowvideosink 
dshowvideofakesrc.cpp:277:VideoFakeSrcPin::PushBuffer: Could not get sample for 
delivery to sink: 80040211
0:00:05.792331000  3772   0191AAA8 DEBUG         dshowvideosink 
dshowvideosink.cpp:1388:gst_dshowvideosink_render:<dshowvideosink0> Done 
pushing buffer through fakesrc->renderer: error
ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: 
Internal data flow error.
Additional debug info:
..\..\..\Source\gstreamer\libs\gst\base\gstbasesrc.c(2550): gst_base_src_loop 
(): /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
streaming task paused, reason error (-5)
Execution ended after 5279302000 ns.
Setting pipeline to PAUSED ...
0:00:05.794331000  3772   00548F20 INFO          dshowvideosink 
dshowvideosink.cpp:803:gst_dshowvideosink_pause_graph:<dshowvideosink0> Pausing 
DirectShow graph
0:00:05.795331000  3772   00548F20 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:367:VideoFakeSrc::Pause:018E4010 Pause()
0:00:05.796332000  3772   00548F20 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:359:VideoFakeSrc::Stop:018E4010 Stop()
0:00:05.796332000  3772   00548F20 WARN          dshowvideosink 
dshowvideosink.cpp:807:gst_dshowvideosink_pause_graph:<dshowvideosink0> Can't 
pause the directshow graph (error=8007000e)
Setting pipeline to READY ...
0:00:05.797332000  3772   00548F20 INFO          dshowvideosink 
dshowvideosink.cpp:803:gst_dshowvideosink_pause_graph:<dshowvideosink0> Pausing 
DirectShow graph
0:00:05.797332000  3772   00548F20 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:367:VideoFakeSrc::Pause:018E4010 Pause()
0:00:05.798332000  3772   00548F20 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:359:VideoFakeSrc::Stop:018E4010 Stop()
0:00:05.798332000  3772   00548F20 WARN          dshowvideosink 
dshowvideosink.cpp:807:gst_dshowvideosink_pause_graph:<dshowvideosink0> Can't 
pause the directshow graph (error=8007000e)
Setting pipeline to NULL ...
0:00:05.799332000  3772   00548F20 INFO          dshowvideosink 
dshowvideosink.cpp:803:gst_dshowvideosink_pause_graph:<dshowvideosink0> Pausing 
DirectShow graph
0:00:05.800332000  3772   00548F20 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:367:VideoFakeSrc::Pause:018E4010 Pause()
0:00:05.800332000  3772   00548F20 DEBUG         dshowvideosink 
dshowvideofakesrc.cpp:359:VideoFakeSrc::Stop:018E4010 Stop()
0:00:05.801332000  3772   00548F20 WARN          dshowvideosink 
dshowvideosink.cpp:807:gst_dshowvideosink_pause_graph:<dshowvideosink0> Can't 
pause the directshow graph (error=8007000e)
Freeing pipeline ...

Original issue reported on code.google.com by ylatuya on 23 Jul 2010 at 10:35

GoogleCodeExporter commented 9 years ago
I'm using old code, will retry again. I'll run it again and generate a valid log

Original comment by ylatuya on 23 Jul 2010 at 10:43

GoogleCodeExporter commented 9 years ago
It doesn't happen anymore with the EVR renderer.

Original comment by ylatuya on 23 Jul 2010 at 11:03