Commit 517d31de authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Don't skip SPS/PPS after all. Apparently there is sometimes proper data...

* Don't skip SPS/PPS after all. Apparently there is sometimes proper data behind such a NAL, which makes this break. Unfortunately there doesn't seem to be a way to properly skip data in the mp4 mux.
parent e987d213
...@@ -698,7 +698,7 @@ static block_t *ConvertAVC1( sout_mux_t *p_mux, mp4_stream_t *tk, block_t *p_blo ...@@ -698,7 +698,7 @@ static block_t *ConvertAVC1( sout_mux_t *p_mux, mp4_stream_t *tk, block_t *p_blo
/* Skip blocks with SPS/PPS */ /* Skip blocks with SPS/PPS */
if( (last[4]&0x1f) == 7 || (last[4]&0x1f) == 8 ) if( (last[4]&0x1f) == 7 || (last[4]&0x1f) == 8 )
p_block->i_buffer = 0; ; // FIXME Find a way to skip dat without frelling everything
last = dat; last = dat;
dat += 4; dat += 4;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment