dst->param = src->param;
dst->i_pic_struct = src->i_pic_struct;
dst->extra_sei = src->extra_sei;
+ dst->opaque = src->opaque;
uint8_t *pix[3];
int stride[3];
/* user sei */
x264_sei_t extra_sei;
+
+ /* user data */
+ void *opaque;
} x264_frame_t;
/* synchronized frame list */
if( pic_out->i_pts < pic_out->i_dts )
x264_log( h, X264_LOG_WARNING, "invalid DTS: PTS is less than DTS\n" );
+ pic_out->opaque = h->fenc->opaque;
+
pic_out->img.i_csp = h->fdec->i_csp;
#if HIGH_BIT_DEPTH
pic_out->img.i_csp |= X264_CSP_HIGH_DEPTH;
#include "x264_config.h"
-#define X264_BUILD 119
+#define X264_BUILD 120
/* x264_t:
* opaque handler for encoder */
x264_hrd_t hrd_timing;
/* In: arbitrary user SEI (e.g subtitles, AFDs) */
x264_sei_t extra_sei;
- /* private user data. libx264 doesn't touch this,
- not even copy it from input to output frames. */
+ /* private user data. copied from input to output frames. */
void *opaque;
} x264_picture_t;