~ubuntu-branches/ubuntu/saucy/gstreamer0.10/saucy

« back to all changes in this revision

Viewing changes to tests/check/generic/sinks.c

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2011-12-11 18:52:12 UTC
  • mfrom: (32.1.14 experimental)
  • Revision ID: package-import@ubuntu.com-20111211185212-3k215ps4qtyz2qa5
Tags: 0.10.35.2-1
* New upstream pre-release:
  + debian/control.in:
    - Build-depend on GLib >= 2.24.
  + debian/patches/99_ltmain_as-needed.patch:
    - Refreshed to apply cleanly again.
  + debian/libgstreamer.symbols:
    - Update symbols file with new API.
* debian/rules:
  + Remove all dependency_libs from the .la files (Closes: #633319).
* debian/control.in:
  + Put GI package into section introspection.
* debian/compat,
  debian/control.in,
  debian/gir1.2-gstreamer.install,
  debian/libgstreamer-dev.install,
  debian/libgstreamer.install,
  debian/patches/79_multiarch-backwards-compat.patch,
  debian/patches/80_ia32-hack.patch,
  debian/rules:
  + Transition package to multi-arch (Closes: #647481).
    Patch taken from the Ubuntu package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
930
930
  fail_unless (ret == GST_STATE_CHANGE_ASYNC, "no ASYNC state return");
931
931
 
932
932
  /* push buffer of 100 seconds, since it has a timestamp of 0, it should be
933
 
   * rendered immediatly and the chain function should return immediatly */
 
933
   * rendered immediately and the chain function should return immediately */
934
934
  buffer = gst_buffer_new_and_alloc (10);
935
935
  GST_BUFFER_TIMESTAMP (buffer) = 0;
936
936
  GST_BUFFER_DURATION (buffer) = 100 * GST_SECOND;
1085
1085
  fail_unless (position == 10 * GST_SECOND, "position is wrong");
1086
1086
 
1087
1087
  /* Since we are paused and the preroll queue has a length of 2, this function
1088
 
   * will return immediatly, the preroll handoff will be called and the stream
 
1088
   * will return immediately, the preroll handoff will be called and the stream
1089
1089
   * position should now be 10 seconds. */
1090
1090
  GST_DEBUG ("pushing first buffer");
1091
1091
  buffer = gst_buffer_new_and_alloc (10);
1223
1223
  fail_unless (position == 10 * GST_SECOND, "position is wrong");
1224
1224
 
1225
1225
  /* Since we are paused and the preroll queue has a length of 1, this function
1226
 
   * will return immediatly. The EOS will complete the preroll and the  
 
1226
   * will return immediately. The EOS will complete the preroll and the
1227
1227
   * position should now be 10 seconds. */
1228
1228
  GST_DEBUG ("pushing EOS");
1229
1229
  event = gst_event_new_eos ();