Commit bdddcf97 authored by Loren Merritt's avatar Loren Merritt

param.b_repeat_headers (not yet used)



git-svn-id: svn://svn.videolan.org/x264/trunk@376 df754926-b1dd-0310-bc7b-ec298dee348c
parent 8c7611c1
......@@ -1325,7 +1325,7 @@ do_encode:
h->i_nal_ref_idc = i_nal_ref_idc;
/* Write SPS and PPS */
if( i_nal_type == NAL_SLICE_IDR )
if( i_nal_type == NAL_SLICE_IDR && h->param.b_repeat_headers )
{
if( h->fenc->i_frame == 0 )
{
......
......@@ -35,7 +35,7 @@
#include <stdarg.h>
#define X264_BUILD 40
#define X264_BUILD 41
/* x264_t:
* opaque handler for decoder and encoder */
......@@ -239,6 +239,7 @@ typedef struct
} rc;
int b_aud; /* generate access unit delimiters */
int b_repeat_headers /* put SPS/PPS before each keyframe */
} x264_param_t;
typedef struct {
......
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