Comment 1 for bug 209931

Revision history for this message
NicoInattendu (nico-inattendu) wrote :

Problem is confirmed, and due to a wrong usage of gstreamer.
When a snapshot action is done , the video stream is stopped , i.e. Gststate goes to STATE_NULL, and then the restart of video is incorrect, a WARN is raised : "pipeline gstpipeline.c:491:gst_pipeline_change_state:<pipeline0> failed to query pipeline latency "

This phenoma doest not appears when onion skin is activated, the reason is in that case the gst pipeline is reseted before going in play state.

2 solutions possible ( workarounds ?) :
- reset the pipeline after each snapshot.
- go in pause mode , instead of "STOP", with that solution, the time for making ths snapshot is shorter.