Diffstat (limited to 'noncore/multimedia/opieplayer2/lib.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/lib.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.cpp b/noncore/multimedia/opieplayer2/lib.cpp index 9f0d448..e3289bc 100644 --- a/noncore/multimedia/opieplayer2/lib.cpp +++ b/noncore/multimedia/opieplayer2/lib.cpp | |||
@@ -23,25 +23,24 @@ | |||
23 | ++= -. .` .: details. | 23 | ++= -. .` .: details. |
24 | : = ...= . :.=- | 24 | : = ...= . :.=- |
25 | -. .:....=;==+<; You should have received a copy of the GNU | 25 | -. .:....=;==+<; You should have received a copy of the GNU |
26 | -_. . . )=. = Library General Public License along with | 26 | -_. . . )=. = Library General Public License along with |
27 | -- :-=` this library; see the file COPYING.LIB. | 27 | -- :-=` this library; see the file COPYING.LIB. |
28 | If not, write to the Free Software Foundation, | 28 | If not, write to the Free Software Foundation, |
29 | Inc., 59 Temple Place - Suite 330, | 29 | Inc., 59 Temple Place - Suite 330, |
30 | Boston, MA 02111-1307, USA. | 30 | Boston, MA 02111-1307, USA. |
31 | 31 | ||
32 | */ | 32 | */ |
33 | 33 | ||
34 | #include "xinevideowidget.h" | 34 | #include "xinevideowidget.h" |
35 | #include "frame.h" | ||
36 | #include "lib.h" | 35 | #include "lib.h" |
37 | 36 | ||
38 | /* OPIE */ | 37 | /* OPIE */ |
39 | #include <opie2/odebug.h> | 38 | #include <opie2/odebug.h> |
40 | #include <qpe/global.h> | 39 | #include <qpe/global.h> |
41 | 40 | ||
42 | /* QT */ | 41 | /* QT */ |
43 | #include <qtextstream.h> | 42 | #include <qtextstream.h> |
44 | #include <qdir.h> | 43 | #include <qdir.h> |
45 | #include <qgfx_qws.h> | 44 | #include <qgfx_qws.h> |
46 | 45 | ||
47 | /* STD */ | 46 | /* STD */ |
@@ -298,31 +297,24 @@ void Lib::seekTo( int time ) { | |||
298 | if ( xine_get_param( m_stream, XINE_PARAM_SPEED ) ) { | 297 | if ( xine_get_param( m_stream, XINE_PARAM_SPEED ) ) { |
299 | xine_play( m_stream, 0, time*1000 ); | 298 | xine_play( m_stream, 0, time*1000 ); |
300 | } | 299 | } |
301 | 300 | ||
302 | else { | 301 | else { |
303 | xine_play( m_stream, 0, time*1000 ); | 302 | xine_play( m_stream, 0, time*1000 ); |
304 | xine_set_param( m_stream, XINE_PARAM_SPEED, XINE_SPEED_PAUSE ); | 303 | xine_set_param( m_stream, XINE_PARAM_SPEED, XINE_SPEED_PAUSE ); |
305 | } | 304 | } |
306 | 305 | ||
307 | } | 306 | } |
308 | 307 | ||
309 | 308 | ||
310 | Frame Lib::currentFrame() const { | ||
311 | assert( m_initialized ); | ||
312 | |||
313 | Frame frame; | ||
314 | return frame; | ||
315 | }; | ||
316 | |||
317 | QString Lib::metaInfo( int number) const { | 309 | QString Lib::metaInfo( int number) const { |
318 | assert( m_initialized ); | 310 | assert( m_initialized ); |
319 | 311 | ||
320 | return xine_get_meta_info( m_stream, number ); | 312 | return xine_get_meta_info( m_stream, number ); |
321 | } | 313 | } |
322 | 314 | ||
323 | int Lib::error() const { | 315 | int Lib::error() const { |
324 | assert( m_initialized ); | 316 | assert( m_initialized ); |
325 | 317 | ||
326 | return xine_get_error( m_stream ); | 318 | return xine_get_error( m_stream ); |
327 | }; | 319 | }; |
328 | 320 | ||