Skip to content

Conversation

@funman
Copy link
Contributor

@funman funman commented Jan 11, 2019

No description provided.

This avoid outputting wrong offsets if the next frame has less NALs
@funman funman changed the title H264 Initial work on h264 chunked mode (decoding before getting full frame) Jan 11, 2019
This is needed if several input urefs are needed to output a frame,
for example when settings flags2 to chunks with h264
@cmassiot
Copy link
Collaborator

I think the reason we kepts a copy of the uref as long as possible was that avcodec sometimes requests a buffer with no reason. Are you sure there is no regression with this patch?

@funman
Copy link
Contributor Author

funman commented Jan 18, 2019

We are still keeping a uref, it's just the first of N urefs until a buffer is getting output.
I don't see how a regression is possible as after we set stored uref to NULL the upipe_avcdec_input call is done, and there's gonna be a uref with the next one.

@kierank
Copy link
Contributor

kierank commented Mar 4, 2019

ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants