summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_out.h
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2003-10-30 22:40:53 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2003-10-30 22:40:53 +0000
commitfe9eb37f05b677071f9de1b9e69c535aa2293d0b (patch)
tree54cbc02374f1fb4a466b360040a6b8a0a00d5674 /src/xine-engine/video_out.h
parentdeb61082227d4de4694578cdb96c156483c3cbac (diff)
downloadxine-lib-fe9eb37f05b677071f9de1b9e69c535aa2293d0b.tar.gz
xine-lib-fe9eb37f05b677071f9de1b9e69c535aa2293d0b.tar.bz2
* 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
Diffstat (limited to 'src/xine-engine/video_out.h')
-rw-r--r--src/xine-engine/video_out.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xine-engine/video_out.h b/src/xine-engine/video_out.h
index 9eb663cca..3d84b933a 100644
--- a/src/xine-engine/video_out.h
+++ b/src/xine-engine/video_out.h
@@ -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: video_out.h,v 1.99 2003/10/23 15:17:07 mroi Exp $
+ * $Id: video_out.h,v 1.100 2003/10/30 22:40:53 mroi Exp $
*
*
* xine version of video_out.h
@@ -114,6 +114,7 @@ struct vo_frame_s {
/* append this frame to the display queue,
returns number of frames to skip if decoder is late */
+ /* when the frame does not originate from a stream, it is legal to pass a NULL stream */
int (*draw) (vo_frame_t *vo_img, xine_stream_t *stream);
/* lock frame as reference, must be paired with free.