- 01 Jun, 2009 16 commits
-
-
Wim Taymans authored
Use the start_time of the element as the point from where the step operation starts. This fixes stepping in all paused states.
-
Wim Taymans authored
When a subclass is blocking in _wait_preroll() in the _render method, make sure we can unlock the subclass and detect this return value from the render method.
-
Wim Taymans authored
-
Wim Taymans authored
-
Wim Taymans authored
Update framestep document, we want to pass the flush flag in the step-done message. Add flush flag to the gstmessage. Update examples to use the new step-done message api. Implement framestep with playback rates < 0.0 too.
-
Wim Taymans authored
-
Wim Taymans authored
-
Wim Taymans authored
Dump the step_done message contents. Sync against the clock when going to PLAYING.
-
Wim Taymans authored
Pass running_time around so that the stepping code can calculate the elapsed time correctly.
-
Wim Taymans authored
Make start and stop_stepping methods and move their invocation in the right places. Perform the atual stepping operation where we have full context about the timestamps.
-
Wim Taymans authored
-
Wim Taymans authored
Unlock the prerolled frame and recheck if we need to step. Keep a simple counter for the frames we're about to skip while stepping and preroll/post step_done when stepping finished.
-
Wim Taymans authored
Add new STEP event and methods for creating/parsing the event Update design docs. Add new STEP_DONE message and method to create/parse. API: GstEvent::gst_event_new_step() API: GstEvent::gst_event_parse_step() API: GstMessage::gst_message_new_step_done() API: GstMessage::gst_message_parse_step_done()
-
Tim-Philipp Müller authored
Fixes minor memory leak in unit tests caused by the recent changes. Since we're expected to take ownership of the GValue in the structure field struct here, we need to unset it if we don't use it.
-
Stefan Kost authored
Added another tests to check some worries in Bug #582564.
-
Stefan Kost authored
-
- 31 May, 2009 6 commits
-
-
Tim-Philipp Müller authored
Out-of-band events might lead to us calling g_object_notify() from a non-streaming thread, which can cause crashes if g_object_notify() is being called from the streaming thread at the same time. See #554460.
-
Stefan Kost authored
-
Stefan Kost authored
-
Tim-Philipp Müller authored
GObject may crash if two threads do concurrent g_object_notify() on the same object. This may happen if fakesink receives an out-of-band event such as FLUSH_START while processing a buffer or serialised event in the streaming thread. Since this may happen with the default settings during a common operation like a seek, and there seems to be little chance of a timely fix in GObject (see #166020), we should hack around this issue by protecting all of fakesink's direct g_object_notify() calls with a lock. Also add unit test for the above. Fixes #554460.
-
Tim-Philipp Müller authored
Make gst_tag_list_get_string() return FALSE for NULL strings and empty strings, and gst_tag_list_get_pointer() return FALSE for NULL pointers, like we do with dates and buffers. Fixes #560345.
-
Tim-Philipp Müller authored
Also warn if an element or application tries to add a field with an empty string to a structure (NULL strings are still needed and allowed though) and do all those checks in the right function. Fixes #559643.
-
- 29 May, 2009 10 commits
-
-
Tim-Philipp Müller authored
Add convenience wrapper for gst_structure_id_empty_new() plus gst_structure_id_set() and use it in a few places. API: gst_structure_id_new()
-
Tim-Philipp Müller authored
Use gst_structure_id_empty_new() in combination with GST_QUARK rather than gst_structure_id_new() when creating message, event, query and taglist structures. Mostly just because we can.
-
Wim Taymans authored
-
Wim Taymans authored
-
Wim Taymans authored
-
Wim Taymans authored
Deprecate the old _set_stream_time and _get_last_stream_time methods because they are now equivalent to the better named _set/_get_start_time.
-
Wim Taymans authored
Use the element START_TIME to keep track of the running time when the pipeline paused so that it can be used to restore the base_time. Take the start_time before setting the children to PAUSED so that we can distribute the start_time to the children.
-
Wim Taymans authored
Simply set the start_time and base_time on the element instead of calling the setters.
-
Wim Taymans authored
Set the start_time of the bin on the elements when they are added to the pipeline and when a state change happens.
-
Wim Taymans authored
Add a start_time field and some methods. The start_time will contain the running_time of when the element last went to paused. This time can be user to report the position in PAUSED but also to do more correct clipping and stepping later.
-
- 28 May, 2009 2 commits
-
-
Arnout Vandecappelle authored
gst_adapter_masked_scan_uint32 could return values smaller than offset if the first byte(s) of the mask are 0 and the pattern matches the beginning of the adapter. Added examples to documentation of gst_adapter_masked_scan_uint32(). Also added some more masked boundary tests. Fixes #584118
-
Wim Taymans authored
Add pad private structure and move the new chainlistfunc into the private struct. This avoids ABI breakage and allows us to expand in the future.
-
- 27 May, 2009 4 commits
-
-
Sebastian Dröge authored
This was accidentially removed by my last commit.
-
Wim Taymans authored
Avoid leaking the caps of the dest buffer and avoid doing needless caps refs. When the source and target buffers are the same, return immediatly.
-
Sebastian Dröge authored
Fixes bug #582588.
-
Sebastian Dröge authored
This reverts commit bebfde75. This change shouldn't be done in a stable release series as applications are actually expecting the sender to be an GstElement. One example is totem.
-
- 26 May, 2009 2 commits
-
-
Jan Schmidt authored
-
Tim-Philipp Müller authored
The check-enum-gettypes rule didn't work for 'make distcheck' since it makes assumptions about the location of the source files from the current working directory which isn't true during distchecking.
-