diff options
author | Reinhard Nißl <rnissl@gmx.de> | 2007-07-26 22:51:15 +0200 |
---|---|---|
committer | Reinhard Nißl <rnissl@gmx.de> | 2007-07-26 22:51:15 +0200 |
commit | 1028e44b958a7c1533e237c0f076d5adf9598b94 (patch) | |
tree | fb66dfaf8cbae415059951d927c815cceea2ac10 /src/video_out/xvmc_vld.c | |
parent | f904331c23d4457f53263711c7d6cefb429b8696 (diff) | |
download | xine-lib-1028e44b958a7c1533e237c0f076d5adf9598b94.tar.gz xine-lib-1028e44b958a7c1533e237c0f076d5adf9598b94.tar.bz2 |
access native frame where an intercepted can be passed
When postprocessing is activated, the decoder will pass intercepted
frames to the video driver. The driver must nolonger assume that a
native frame will be passed from the decoder -- it's necessary to
use the supplied macros which give access to the native frame even
when an intercepted frame gets passed.
--HG--
extra : transplant_source : %19%E7%83q1%F6%FEJ%12%A4%1D%AC%CF%7F%2Cn%5BJ%92Y
Diffstat (limited to 'src/video_out/xvmc_vld.c')
-rw-r--r-- | src/video_out/xvmc_vld.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_out/xvmc_vld.c b/src/video_out/xvmc_vld.c index 953b65563..ce1c82742 100644 --- a/src/video_out/xvmc_vld.c +++ b/src/video_out/xvmc_vld.c @@ -34,12 +34,12 @@ void xvmc_vld_frame(struct vo_frame_s *this_gen) { vo_frame_t *this = (vo_frame_t *) this_gen; xxmc_frame_t - *cf = (xxmc_frame_t *) this; + *cf = XXMC_FRAME(this); xine_vld_frame_t *vft = &(cf->xxmc_data.vld_frame); xxmc_frame_t - *ff = (xxmc_frame_t *) vft->forward_reference_frame, - *bf = (xxmc_frame_t *) vft->backward_reference_frame; + *ff = XXMC_FRAME(vft->forward_reference_frame), + *bf = XXMC_FRAME(vft->backward_reference_frame); XvMCMpegControl ctl; xxmc_driver_t *driver = (xxmc_driver_t *) cf->vo_frame.driver; @@ -106,7 +106,7 @@ void xvmc_vld_frame(struct vo_frame_s *this_gen) void xvmc_vld_slice(vo_frame_t *this_gen) { xxmc_frame_t - *cf = (xxmc_frame_t *) this_gen; + *cf = XXMC_FRAME(this_gen); xxmc_driver_t *driver = (xxmc_driver_t *) cf->vo_frame.driver; |