Commit ea9308c6 authored by Måns Rullgård's avatar Måns Rullgård

Make reconstructed frame available to caller.


git-svn-id: svn://svn.videolan.org/x264/trunk@184 df754926-b1dd-0310-bc7b-ec298dee348c
parent 6dcb0e4b
......@@ -1304,6 +1304,12 @@ do_encode:
pic_out->i_type = X264_TYPE_B;
pic_out->i_pts = h->fenc->i_pts;
pic_out->img.i_plane = h->fdec->i_plane;
for(i = 0; i < 4; i++){
pic_out->img.i_stride[i] = h->fdec->i_stride[i];
pic_out->img.plane[i] = h->fdec->plane[i];
}
/* ---------------------- Update encoder state ------------------------- */
/* update cabac */
if( h->param.b_cabac )
......
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