projects
/
harmattan
/
cameraplus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2bb6469
)
Remove the useless warnings about failing to query pipeline position and duration
author
Mohammed Sameer
<msameer@foolab.org>
Tue, 17 Sep 2013 00:20:49 +0000
(
03:20
+0300)
committer
Mohammed Sameer
<msameer@foolab.org>
Tue, 17 Sep 2013 00:20:49 +0000
(
03:20
+0300)
declarative/videoplayer.cpp
patch
|
blob
|
history
diff --git
a/declarative/videoplayer.cpp
b/declarative/videoplayer.cpp
index
8ab4017
..
a003554
100644
(file)
--- a/
declarative/videoplayer.cpp
+++ b/
declarative/videoplayer.cpp
@@
-164,7
+164,6
@@
qint64 VideoPlayer::duration() const {
GstFormat format = GST_FORMAT_TIME;
qint64 dur = 0;
if (!gst_element_query_duration(m_bin, &format, &dur)) {
- qmlInfo(this) << "Failed to query pipeline duration";
return 0;
}
@@
-186,7
+185,6
@@
qint64 VideoPlayer::position() {
GstFormat format = GST_FORMAT_TIME;
qint64 pos = 0;
if (!gst_element_query_position(m_bin, &format, &pos)) {
- qmlInfo(this) << "Failed to query pipeline position";
return m_pos;
}