forked from len0rd/rockbox
Some small mpegplayer improvements/bug-fixes, and improved A/V sync. Audio is used as the master clock and video is synced to the number of samples played. This doesn't take account of any PTS difference at the start of the stream. Also enable Limit FPS and Skip Frames by default - these options need to be enabled for A/V sync to work. Adds pcm_get_bytes_waiting() to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12884 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
81cad7db46
commit
8310848421
5 changed files with 109 additions and 108 deletions
|
@ -36,7 +36,8 @@ void mpeg2_alloc_init(unsigned char* buf, int mallocsize)
|
|||
mem_ptr = 0;
|
||||
bufsize = mallocsize;
|
||||
mallocbuf = buf;
|
||||
|
||||
rb->memset(buf,0,bufsize);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue