Commit graph

13 commits

Author SHA1 Message Date
David Hoyt
6e7474459a imagefreeze: pass along eos if received before buffer arrives
Fixes #636172.
2010-12-06 15:23:00 +01:00
Sebastian Dröge
86403e85c5 imagefreeze: Fix another subtle race condition related to starting the srcpad task
Due to a seek the srcpad task could be started in rare circumstances although
it shouldn't be started anymore because no upstream buffer is available.
2010-09-04 14:52:08 +02:00
Sebastian Dröge
e51fe6c181 imagefreeze: Protect the flushing-seek variable by the srcpad's stream lock
This fixes a subtle race condition, that caused bufferalloc to fail
with wrong-state due to a seek but caused it to be not retried as
it should.
2010-09-04 14:52:08 +02:00
Sebastian Dröge
d8ef9bb691 imagefreeze: Always generate a perfectly timestamped stream
Before there could be rounding errors when calculating the duration,
resulting in timestamp + duration being smaller than the next buffer's
timestamp.
2010-09-04 14:52:07 +02:00
Sebastian Dröge
62dd7c4efd imagefreeze: Retry bufferalloc if it was aborted with WRONG_STATE because of a flushing seek 2010-09-04 14:52:05 +02:00
Sebastian Dröge
dffab828c6 imagefreeze: Return GST_FLOW_UNEXPECTED when getting a second buffer
This prevents upstream from pushing many useless buffers and makes
it go into EOS state.
2010-09-04 14:52:05 +02:00
Sebastian Dröge
134b1f0eee imagefreeze: Passthrough buffer allocations 2010-09-04 14:52:05 +02:00
Sebastian Dröge
90f273b165 imagefreeze: Send close segments when seeking only for non-flushing seeks and if we already sent a newsegment event
Fixes bug #626619.
2010-08-12 11:29:53 +02:00
Sebastian Dröge
2e5262cda2 imagefreeze: Set fixed caps on the correct pad
This makes the sink getcaps function actually used instead of using
the fixed caps function for it.
2010-05-11 14:31:44 +01:00
Sebastian Dröge
f9d8174471 imagefreeze: Only start the task after a seek if a buffer was received already 2010-05-11 14:31:44 +01:00
Sebastian Dröge
3e574eafe3 imagefreeze: Set undefined framerate in sink getcaps function 2010-05-11 14:31:43 +01:00
Sebastian Dröge
53de7943c7 imagefreeze: Implement reverse playback and set buffer offsets 2010-05-11 14:31:43 +01:00
Sebastian Dröge
f1e07fcd0f imagefreeze: Add still frame stream generator element 2010-05-11 14:31:43 +01:00