diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-04-12 10:40:38 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-04-12 10:40:38 +0000 |
commit | e40b5a0509ebee9406e4651c99f3c7f89bd89ac8 (patch) | |
tree | 4bbc67311223c1ba0d746b9cf4a375e119220ad3 /libmpdemux/tvi_dummy.c | |
parent | 90bfc582ca7c54b57c2c303ec8b43b00dd45d8d9 (diff) | |
download | mpv-e40b5a0509ebee9406e4651c99f3c7f89bd89ac8.tar.bz2 mpv-e40b5a0509ebee9406e4651c99f3c7f89bd89ac8.tar.xz |
BSD-BT848 TV update patch by Charles Henrich <henrich@sigbus.com>
- tvi interface changes, grab_audio/video now returns timestamp!
- tv demuxer gets 'ds' hint too
- some verbose skip/dup counters to mencoder
- tvi_bsdbt848.c updates
- aviwrite/mencoder size types int->off_t
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5573 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/tvi_dummy.c')
-rw-r--r-- | libmpdemux/tvi_dummy.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/libmpdemux/tvi_dummy.c b/libmpdemux/tvi_dummy.c index 6642f084d1..f938eed058 100644 --- a/libmpdemux/tvi_dummy.c +++ b/libmpdemux/tvi_dummy.c @@ -86,7 +86,15 @@ static int control(priv_t *priv, int cmd, void *arg) return(TVI_CONTROL_UNKNOWN); } -static int grab_video_frame(priv_t *priv, char *buffer, int len) +#ifdef HAVE_TV_BSDBT848 +static double grabimmediate_video_frame(priv_t *priv, char *buffer, int len) +{ + memset(buffer, 0xCC, len); + return(1); +} +#endif + +static double grab_video_frame(priv_t *priv, char *buffer, int len) { memset(buffer, 0x42, len); return(1); @@ -98,7 +106,7 @@ static int get_video_framesize(priv_t *priv) return(priv->width*priv->height*12/8); } -static int grab_audio_frame(priv_t *priv, char *buffer, int len) +static double grab_audio_frame(priv_t *priv, char *buffer, int len) { memset(buffer, 0x42, len); return(1); |