From: Thomas V. S. <tho...@us...> - 2003-10-09 14:02:41
|
CVS Root: /cvsroot/gstreamer Module: gst-plugins Changes by: thomasvs Date: Thu Oct 09 2003 07:02:40 PDT Branch: BRANCH-GSTREAMER-0_6 Log message: adding ignores adding debug info to vorbis Modified files: . : .cvsignore ext/vorbis : vorbisfile.c Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/.cvsignore.diff?r1=1.4&r2=1.4.6.1 http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/ext/vorbis/vorbisfile.c.diff?r1=1.25.4.1&r2=1.25.4.2 ====Begin Diffs==== Index: .cvsignore =================================================================== RCS file: /cvsroot/gstreamer/gst-plugins/.cvsignore,v retrieving revision 1.4 retrieving revision 1.4.6.1 diff -u -d -r1.4 -r1.4.6.1 --- .cvsignore 31 Dec 2002 18:14:01 -0000 1.4 +++ .cvsignore 9 Oct 2003 14:02:26 -0000 1.4.6.1 @@ -24,3 +24,5 @@ install-sh depcomp autoregen.sh +*.tar.gz +*.tar.bz2 Index: vorbisfile.c =================================================================== RCS file: /cvsroot/gstreamer/gst-plugins/ext/vorbis/vorbisfile.c,v retrieving revision 1.25.4.1 retrieving revision 1.25.4.2 diff -u -d -r1.25.4.1 -r1.25.4.2 --- vorbisfile.c 8 May 2003 05:51:34 -0000 1.25.4.1 +++ vorbisfile.c 9 Oct 2003 14:02:27 -0000 1.25.4.2 @@ -477,9 +477,12 @@ gint64 samples; gint link; + GST_DEBUG (GST_CAT_PLUGIN_INFO, "start of loop function"); + /* this function needs to go first since you don't want to be messing * with an unset vf ;) */ if (vorbisfile->restart) { + GST_DEBUG (GST_CAT_PLUGIN_INFO, "restarting vorbisfile struct"); vorbisfile->offset = 0; vorbisfile->total_bytes = 0; vorbisfile->may_eos = FALSE; @@ -501,6 +504,7 @@ if (vorbisfile->seek_pending) { /* get time to seek to in seconds */ + GST_DEBUG (GST_CAT_PLUGIN_INFO, "seek pending"); switch (vorbisfile->seek_format) { case GST_FORMAT_TIME: @@ -560,6 +564,8 @@ return; } + GST_DEBUG (GST_CAT_PLUGIN_INFO, "creating new buffer"); + outbuf = gst_buffer_new (); GST_BUFFER_DATA (outbuf) = g_malloc (4096); GST_BUFFER_SIZE (outbuf) = 4096; @@ -573,7 +579,7 @@ sizeof (gint16), 1, &link); if (ret == 0) { - GST_DEBUG (0, "eos"); + GST_DEBUG (GST_CAT_PLUGIN_INFO, "ov_read returned 0, eos"); /* send EOS event */ /*ov_clear (&vorbisfile->vf);*/ vorbisfile->restart = TRUE; |