projects
/
experiments
/
gstreamer.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
279c8c2
)
Fix setting width and height in the capsfilter
author
Antonio Ospite <ospite@studenti.unina.it>
Tue, 5 Mar 2013 14:25:34 +0000
(15:25 +0100)
committer
Antonio Ospite <ospite@studenti.unina.it>
Tue, 5 Mar 2013 14:28:23 +0000
(15:28 +0100)
gst-custom-player.py
patch
|
blob
|
history
diff --git
a/gst-custom-player.py
b/gst-custom-player.py
index
dd7a84b
..
150163e
100755
(executable)
--- a/
gst-custom-player.py
+++ b/
gst-custom-player.py
@@
-42,7
+42,7
@@
class CustomVideoBin(gst.Bin):
queue = gst.element_factory_make('queue', 'vqueue')
self.add(queue)
queue = gst.element_factory_make('queue', 'vqueue')
self.add(queue)
- caps = gst.Caps("video/x-raw-yuv,format=(fourcc)AYUV,width=%d,height=%d" % (
HEIGHT, WIDTH
))
+ caps = gst.Caps("video/x-raw-yuv,format=(fourcc)AYUV,width=%d,height=%d" % (
WIDTH, HEIGHT
))
capsfilter = gst.element_factory_make("capsfilter", "filter")
capsfilter.set_property("caps", caps)
self.add(capsfilter)
capsfilter = gst.element_factory_make("capsfilter", "filter")
capsfilter.set_property("caps", caps)
self.add(capsfilter)