| Reference Manual - 1.4.3

IDirectFBVideoProvider | PlayTo

#### Play the video rendering it into the specified rectangle of the destination surface.

DFBResult PlayTo (
| IDirectFBVideoProvider |  | * | thiz,
| IDirectFBSurface |  | * | destination,
| const DFBRectangle |  | * | destination_rect,
| DVFrameCallback |  |  | callback,
| void |  | * | ctx
);

Optionally a callback can be registered that is called for each rendered frame. This is especially important if you are playing to a flipping surface. In this case, you should flip the destination surface in your callback.

| This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License