Permalink
Browse files

Fix keyframe stuff in x264.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
  • Loading branch information...
1 parent 82fd43e commit cd200681021fee0bc2be384c3597083cd3f62be0 @felipec committed Oct 25, 2008
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/x264/module.c
View
@@ -296,6 +296,8 @@ foo_thread (gpointer cb_data)
if (out_pic.i_type == X264_TYPE_IDR)
out_buffer->nFlags |= OMX_BUFFERFLAG_SYNCFRAME;
+ else
+ out_buffer->nFlags &= ~OMX_BUFFERFLAG_SYNCFRAME;
}
g_mutex_lock (private->flush_mutex);

0 comments on commit cd20068

Please sign in to comment.