summaryrefslogtreecommitdiff
path: root/src/libsputext/demux_sputext.c
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-11-26 19:43:26 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-11-26 19:43:26 +0000
commit3050d97eb83cfdfb4d04a51231acba47e6addf1c (patch)
tree4337d69086ce7d870214e7e5f6a028f8b417521e /src/libsputext/demux_sputext.c
parentae2a2a8e08ab3140d5c7ee3a5f33e7db81f76b09 (diff)
downloadxine-lib-3050d97eb83cfdfb4d04a51231acba47e6addf1c.tar.gz
xine-lib-3050d97eb83cfdfb4d04a51231acba47e6addf1c.tar.bz2
lprintf cleanup, pass I.
CVS patchset: 5796 CVS date: 2003/11/26 19:43:26
Diffstat (limited to 'src/libsputext/demux_sputext.c')
-rw-r--r--src/libsputext/demux_sputext.c20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/libsputext/demux_sputext.c b/src/libsputext/demux_sputext.c
index 770368e5b..6a1b1692d 100644
--- a/src/libsputext/demux_sputext.c
+++ b/src/libsputext/demux_sputext.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_sputext.c,v 1.29 2003/11/16 23:33:47 f1rmb Exp $
+ * $Id: demux_sputext.c,v 1.30 2003/11/26 19:43:36 f1rmb Exp $
*
* code based on old libsputext/xine_decoder.c
*
@@ -43,14 +43,16 @@
#include <fcntl.h>
#include <ctype.h>
+#define LOG_MODULE "demux_sputext"
+#define LOG_VERBOSE
+/*
+#define LOG
+*/
+
#include "xine_internal.h"
#include "xineutils.h"
#include "../demuxers/demux.h"
-/*
-#define LOG 1
-*/
-
#define ERR (void *)-1
#define SUB_MAX_TEXT 5
#define SUB_BUFSIZE 1024
@@ -871,7 +873,7 @@ static int demux_sputext_seek (demux_plugin_t *this_gen,
off_t start_pos, int start_time, int playing) {
demux_sputext_t *this = (demux_sputext_t*)this_gen;
- lprintf("demux_sputext: seek() called\n");
+ lprintf("seek() called\n");
/* simple seeking approach: just go back to start.
* decoder will discard subtitles until the desired position.
@@ -890,7 +892,7 @@ static void demux_sputext_send_headers(demux_plugin_t *this_gen) {
buf_element_t *buf;
- lprintf("demux_sputext: send_headers() called\n");
+ lprintf("send_headers() called\n");
_x_demux_control_start(this->stream);
_x_stream_info_set(this->stream, XINE_STREAM_INFO_HAS_VIDEO, 0);
@@ -930,7 +932,7 @@ static demux_plugin_t *open_demux_plugin (demux_class_t *class_gen, xine_stream_
input_plugin_t *input = (input_plugin_t *) input_gen;
demux_sputext_t *this;
- lprintf("demux_sputext: open_plugin() called\n");
+ lprintf("open_plugin() called\n");
this = xine_xmalloc (sizeof (demux_sputext_t));
this->stream = stream;
@@ -1028,7 +1030,7 @@ static void *init_sputext_demux_class (xine_t *xine, void *data) {
demux_sputext_class_t *this ;
- lprintf("demux_sputext: initializing\n");
+ lprintf("initializing\n");
this = xine_xmalloc (sizeof (demux_sputext_class_t));