[vlc-devel] commit: Workaround deficiency in schroedinger state machine logic ( David Flynn )

git version control git at videolan.org
Fri Aug 1 00:39:19 CEST 2008


vlc | branch: master | David Flynn <davidf at rd.bbc.co.uk> | Wed Jul 30 13:41:24 2008 +0000| [7ca75b8a2398c66f6d8991b9a2be1b55d10d9dc5]

Workaround deficiency in schroedinger state machine logic

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7ca75b8a2398c66f6d8991b9a2be1b55d10d9dc5
---

 modules/codec/schroedinger.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/modules/codec/schroedinger.c b/modules/codec/schroedinger.c
index 960e53a..3fc1582 100644
--- a/modules/codec/schroedinger.c
+++ b/modules/codec/schroedinger.c
@@ -488,6 +488,11 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
 #endif
                 SetVideoFormat( p_dec );
                 ResetPTStlb( p_dec );
+
+                p_schroframe = CreateSchroFrameFromPic( p_dec );
+                if( p_schroframe ) {
+                    schro_decoder_add_output_picture( p_sys->p_schro, p_schroframe);
+                }
             }
 
             if( b_bail )




More information about the vlc-devel mailing list