video3d: Refactored the transform() function of GstVideo3DPresent.
authorMartin Bisson <martin.bisson@gmail.com>
Sat, 14 Aug 2010 23:45:42 +0000 (23:45 +0000)
committerMartin Bisson <martin.bisson@gmail.com>
Sat, 14 Aug 2010 23:45:42 +0000 (23:45 +0000)
commit46b89ead2b4dd0a1a20cf21992efb979e246b46b
treefbb58f3ec2ed9cc991c3f12c9fa39ad2fd4e723b
parentef9b2664b0347f81cff1b0c19c28b14710f81607
video3d: Refactored the transform() function of GstVideo3DPresent.

The function was refactored to keep a internal state describing the input and output formats instead of reparsing the caps every frames.  The refactoring also allows the fixing of the bug in the video3dplayer when setting the output mode on a running pipeline.  It's no longer necessary to use the workaround of stopping the pipeline.
gst/video3d/gstvideo3dconvert.c
gst/video3d/gstvideo3dpresent.c
gst/video3d/gstvideo3dpresent.h
tests/examples/video3d/video3dplayer.c