Mercurial > libavcodec.hg
comparison vaapi.c @ 10723:3f08c340020f libavcodec
Rename ff_vaapi_get_surface() to ff_vaapi_get_surface_id().
author | gb |
---|---|
date | Mon, 28 Dec 2009 09:02:16 +0000 |
parents | f0732d44f655 |
children | de8d07d87c45 |
comparison
equal
deleted
inserted
replaced
10722:de2a496db0e5 | 10723:3f08c340020f |
---|---|
183 dprintf(s->avctx, "ff_vaapi_common_end_frame()\n"); | 183 dprintf(s->avctx, "ff_vaapi_common_end_frame()\n"); |
184 | 184 |
185 if (commit_slices(vactx) < 0) | 185 if (commit_slices(vactx) < 0) |
186 goto done; | 186 goto done; |
187 if (vactx->n_slice_buf_ids > 0) { | 187 if (vactx->n_slice_buf_ids > 0) { |
188 if (render_picture(vactx, ff_vaapi_get_surface(s->current_picture_ptr)) < 0) | 188 if (render_picture(vactx, ff_vaapi_get_surface_id(s->current_picture_ptr)) < 0) |
189 goto done; | 189 goto done; |
190 ff_draw_horiz_band(s, 0, s->avctx->height); | 190 ff_draw_horiz_band(s, 0, s->avctx->height); |
191 } | 191 } |
192 ret = 0; | 192 ret = 0; |
193 | 193 |