diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2002-12-30 17:53:18 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2002-12-30 17:53:18 +0000 |
commit | 2deab46c699196a902a076bbd969d26a15d9068a (patch) | |
tree | 6d3936fd0046d1a3679a29aa833c72dc959fa9e9 /gst-libs/gst/play/play.old.c | |
parent | 5f3fa649393fc4321b76e3220d3682511281d405 (diff) | |
download | gst-plugins-bad-2deab46c699196a902a076bbd969d26a15d9068a.tar.gz gst-plugins-bad-2deab46c699196a902a076bbd969d26a15d9068a.tar.bz2 gst-plugins-bad-2deab46c699196a902a076bbd969d26a15d9068a.zip |
Fix plugins for new query API
Original commit message from CVS:
Fix plugins for new query API
Diffstat (limited to 'gst-libs/gst/play/play.old.c')
-rw-r--r-- | gst-libs/gst/play/play.old.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/play/play.old.c b/gst-libs/gst/play/play.old.c index 41f9edef..2e9edea7 100644 --- a/gst-libs/gst/play/play.old.c +++ b/gst-libs/gst/play/play.old.c @@ -548,12 +548,12 @@ gst_play_get_length_callback (GstPlay *play) g_print("trying to get length\n"); if (play->audio_sink_element != NULL){ g_mutex_lock(play->audio_bin_mutex); - query_worked = gst_element_query (play->audio_sink_element, GST_PAD_QUERY_TOTAL, &format, &value); + query_worked = gst_element_query (play->audio_sink_element, GST_QUERY_TOTAL, &format, &value); g_mutex_unlock(play->audio_bin_mutex); } else if (play->video_sink_element != NULL){ g_mutex_lock(play->video_bin_mutex); - query_worked = gst_element_query (play->video_sink_element, GST_PAD_QUERY_TOTAL, &format, &value); + query_worked = gst_element_query (play->video_sink_element, GST_QUERY_TOTAL, &format, &value); g_mutex_unlock(play->video_bin_mutex); } if (query_worked){ |