summaryrefslogtreecommitdiff
path: root/src/libvorbis/xine_decoder.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-04-01 17:59:40 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-04-01 17:59:40 +0000
commitf99e942b1317f978205e48c5dbad077955fce040 (patch)
tree076e76be3813ec8ab429fbf44c44427a18b0b739 /src/libvorbis/xine_decoder.c
parentd5260b440ba2fc734a27ab47089be08a03f5e864 (diff)
downloadxine-lib-f99e942b1317f978205e48c5dbad077955fce040.tar.gz
xine-lib-f99e942b1317f978205e48c5dbad077955fce040.tar.bz2
check preview flag
CVS patchset: 1659 CVS date: 2002/04/01 17:59:40
Diffstat (limited to 'src/libvorbis/xine_decoder.c')
-rw-r--r--src/libvorbis/xine_decoder.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libvorbis/xine_decoder.c b/src/libvorbis/xine_decoder.c
index 4e85b0678..26df1f494 100644
--- a/src/libvorbis/xine_decoder.c
+++ b/src/libvorbis/xine_decoder.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: xine_decoder.c,v 1.6 2002/02/09 07:13:24 guenter Exp $
+ * $Id: xine_decoder.c,v 1.7 2002/04/01 18:00:13 miguelfreitas Exp $
*
* (ogg/)vorbis audio decoder plugin (libvorbis wrapper) for xine
*/
@@ -100,6 +100,9 @@ static void vorbis_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) {
printf ("vorbisdecoder: before buf=%08x content=%08x op=%08x packet=%08x\n",
buf, buf->content, op, op->packet);
*/
+
+ if (buf->decoder_flags & BUF_FLAG_PREVIEW)
+ return;
/* if (buf->decoder_info[0] >0) { */