[Bug 699077] videorate: Add a property to modify clip speed

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jul 18 03:22:58 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=699077
  GStreamer | gst-plugins-base | 1.x

Sebastian Dröge (slomo) <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #249444|none                        |needs-work
             status|                            |

--- Comment #23 from Sebastian Dröge (slomo) <slomo at circular-chaos.org> 2013-07-18 10:22:53 UTC ---
Review of attachment 249444:
 --> (https://bugzilla.gnome.org/review?bug=699077&attachment=249444)

::: tests/check/elements/videorate.c
@@ +1218,3 @@
+
+    fail_unless_equals_int (gst_pad_push (mysrcpad, inbuf), GST_FLOW_OK);
+  }

Check for the rate=2.0 case for each buffer too

@@ +1228,3 @@
+    if (ts == 0.75 * GST_SECOND) {
+      gst_element_query_position (videorate, GST_FORMAT_TIME, &position);
+      fail_unless_equals_uint64 (position, 0.48 * GST_SECOND);

And here just do it for a) every buffer and b) just calculate the correct
position by offsetting after the above loop and scaling from the current

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list