What I achieved
The commits are:
- Removed unncessary files:d0e2cf4e00
- Created separate helpers class. Removed logging:9a9f241252
- small change: 14e871ad40
- removed unneccesarry commented code:aa50ca622e
- DBus methods getting data working:804436e8ef
- Fixed typos, modified tests:df00cd368a
For testing the methods, I had to create a new test.py file. After these tests, all the methods which "get" information from the gst-switch-srv are working. Also the method set_compose_mode is working.
What problems I'm currently having.
- The method set_encode_mode is not working. Looking at how its implemented in the code of gst-switch, I found that its not implemented at all. https://github.com/timvideos/gst-switch/blob/master/tools/gstswitchcontroller.c#L69 The method table has no mention of this method https://github.com/timvideos/gst-switch/blob/master/tools/gstswitchcontroller.c#L969
What I am planning to do
Mithro had correctly pointed out that I will need a fully automatic test suite for testing the python api as well as the gst-switch. I am reading about how to use these. I have gone through py.test documentation. I will be using it for creating this test suite after I am done with very basic tests. Added to the to-do list :)
Comments Section
Feel free to comment on the post but keep it clean and on topic.
blog comments powered by Disqus