summaryrefslogtreecommitdiffstats
path: root/juk
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2012-04-13 00:30:28 -0500
committerDarrell Anderson <[email protected]>2012-04-13 00:30:28 -0500
commit017d437099d1f1d6a68e145eca4a507e8ab65d9e (patch)
treef7b44ebcd381527c939e70e03555105218336d76 /juk
parent14c903d8a9e29e9505ec05ca630f1b5a218679ad (diff)
downloadtdemultimedia-017d437099d1f1d6a68e145eca4a507e8ab65d9e.tar.gz
tdemultimedia-017d437099d1f1d6a68e145eca4a507e8ab65d9e.zip
Fix inadvertent "TQ" changes.
Diffstat (limited to 'juk')
-rw-r--r--juk/gstreamerplayer.cpp10
-rw-r--r--juk/musicbrainzquery.h4
2 files changed, 7 insertions, 7 deletions
diff --git a/juk/gstreamerplayer.cpp b/juk/gstreamerplayer.cpp
index 2c520128..12bffe35 100644
--- a/juk/gstreamerplayer.cpp
+++ b/juk/gstreamerplayer.cpp
@@ -107,18 +107,18 @@ bool GStreamerPlayer::paused() const
int GStreamerPlayer::totalTime() const
{
- return time(GST_TQUERY_TOTAL) / GST_SECOND;
+ return time(GST_QUERY_TOTAL) / GST_SECOND;
}
int GStreamerPlayer::currentTime() const
{
- return time(GST_TQUERY_POSITION) / GST_SECOND;
+ return time(GST_QUERY_POSITION) / GST_SECOND;
}
int GStreamerPlayer::position() const
{
- long long total = time(GST_TQUERY_TOTAL);
- long long current = time(GST_TQUERY_POSITION);
+ long long total = time(GST_QUERY_TOTAL);
+ long long current = time(GST_QUERY_POSITION);
return total > 0 ? int((double(current) / double(total)) * double(1000) + 0.5) : 0;
}
@@ -130,7 +130,7 @@ void GStreamerPlayer::seek(int seekTime)
void GStreamerPlayer::seekPosition(int position)
{
- long long total = time(GST_TQUERY_TOTAL);
+ long long total = time(GST_QUERY_TOTAL);
if(total > 0)
seek(int(double(position) / double(1000) * double(totalTime()) + 0.5));
}
diff --git a/juk/musicbrainzquery.h b/juk/musicbrainzquery.h
index 195006e0..d88b166f 100644
--- a/juk/musicbrainzquery.h
+++ b/juk/musicbrainzquery.h
@@ -13,8 +13,8 @@
* *
***************************************************************************/
-#ifndef MUSICBRAINZTQUERY_H
-#define MUSICBRAINZTQUERY_H
+#ifndef MUSICBRAINZQUERY_H
+#define MUSICBRAINZQUERY_H
#include <config.h>