summaryrefslogtreecommitdiff
path: root/psdl.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-07-06 20:44:39 +0200
committerGravatar waker <wakeroid@gmail.com>2009-07-06 20:44:39 +0200
commit2b583ad8d29236e88b34107d5e98c9889a95b4dc (patch)
tree11f618ceb0fdf9dc418350930011ceca7d2f7918 /psdl.c
parent70679eb6465814b368eb1ec91c6b450f324512b5 (diff)
position tracking, statusbar, seekbar updating, some cleanup
Diffstat (limited to 'psdl.c')
-rw-r--r--psdl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/psdl.c b/psdl.c
index 127b981a..af98654e 100644
--- a/psdl.c
+++ b/psdl.c
@@ -79,7 +79,6 @@ psdl_free (void) {
int
psdl_play (struct playItem_s *it) {
-// printf ("psdl_play\n");
if (!it) {
return -1;
}
@@ -204,3 +203,7 @@ psdl_callback (void* userdata, Uint8 *stream, int len) {
sdl_eof = codecret == -1 ? 1 : 0;
}
+struct codec_s*
+psdl_getcodec (void) {
+ return codec;
+}