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.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/post/visualizations/visualizations.h (limited to 'src/post/visualizations/visualizations.h') diff --git a/src/post/visualizations/visualizations.h b/src/post/visualizations/visualizations.h new file mode 100644 index 000000000..967d98c35 --- /dev/null +++ b/src/post/visualizations/visualizations.h @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2000-2003 the xine project + * + * This file is part of xine, a free video player. + * + * xine is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * xine is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * This file contains plugin entries for several visualization post plugins. + * + * $Id: visualizations.h,v 1.1 2003/10/30 22:40:53 mroi Exp $ + */ + +#include "xine_internal.h" + +void *oscope_init_plugin(xine_t *xine, void *data); +void *fftscope_init_plugin(xine_t *xine, void *data); +void *fftgraph_init_plugin(xine_t *xine, void *data); -- cgit v1.2.3