fix wrong XInternAtom parameter, always check attributes before set it 1.0_post
authorYan Yin <yan.yin@intel.com>
Fri, 8 Jun 2012 03:27:18 +0000 (11:27 +0800)
committerYan Yin <yan.yin@intel.com>
Fri, 8 Jun 2012 03:27:28 +0000 (11:27 +0800)
commit885a68203c2b023183fed5962c7203ec9be8d48e
tree290729ddddbb74ae26ff5b8247f271a51681584a
parentf10a7a3b020216a3a6d56341632f3a8003376f72
fix wrong XInternAtom parameter, always check attributes before set it

1. Atom will never be "None" if the last parameter is "False", the if
following statement will never take effect.
2. Some of the port attributes may doesn't exist in other platforms, it will
much more safe to always check whether it exists before set its value.
packaging/gst-plugins-base.changes [new file with mode: 0644]
sys/xvimage/xvimagesink.c