~ubuntu-branches/ubuntu/quantal/gst-plugins-bad-multiverse0.10/quantal

« back to all changes in this revision

Viewing changes to gst/debugutils/fpsdisplaysink.c

  • Committer: Bazaar Package Importer
  • Author(s): Onkar Shinde
  • Date: 2009-12-07 08:54:28 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20091207085428-ml6aaukf0p2ph34d
Tags: 0.10.17-0ubuntu1
* New upstream release.
* Add myself to maintainer.
* Fix misc lintian warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
206
206
  GstFPSDisplaySink *self = GST_FPS_DISPLAY_SINK (data);
207
207
  gint64 current_ts;
208
208
 
209
 
  gst_element_query (self->video_sink, self->query);
 
209
  /* if query failed try again on next timer tick */
 
210
  if (!gst_element_query (self->video_sink, self->query))
 
211
    return TRUE;
 
212
 
210
213
  gst_query_parse_position (self->query, NULL, &current_ts);
211
214
 
212
215
  if (GST_CLOCK_TIME_IS_VALID (self->last_ts)) {