From fe9eb37f05b677071f9de1b9e69c535aa2293d0b Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Thu, 30 Oct 2003 22:40:53 +0000 Subject: * modify the engine slightly, so that the stream member in a video frame or audio buffer can be NULL; this should be used to indicate that the frame/ buffer does not come directly from a stream, but was generated otherwise (the most important result is that frames/buffers with stream NULL will not be passed through metronom) * modify visualization post plugins so they set the stream on the generated frames to NULL, this avoids cluttering metronom, when playing a stream with audio AND video AND a visualization post * this also means modifying the way post plugins provide vpts values: they have to calculate them themselves for now CVS patchset: 5647 CVS date: 2003/10/30 22:40:53 --- src/post/visualizations/visualizations.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/post/visualizations/visualizations.c') diff --git a/src/post/visualizations/visualizations.c b/src/post/visualizations/visualizations.c index 706b66695..4581f9f53 100644 --- a/src/post/visualizations/visualizations.c +++ b/src/post/visualizations/visualizations.c @@ -19,7 +19,7 @@ * * This file contains plugin entries for several visualization post plugins. * - * $Id: visualizations.c,v 1.7 2003/10/23 20:12:35 mroi Exp $ + * $Id: visualizations.c,v 1.8 2003/10/30 22:40:53 mroi Exp $ */ #ifdef HAVE_CONFIG_H @@ -29,6 +29,8 @@ #include "xine_internal.h" #include "post.h" +#include "visualizations.h" + void *oscope_init_plugin(xine_t *xine, void *data); void *fftscope_init_plugin(xine_t *xine, void *data); -- cgit v1.2.3