[gst-devel] how to get the final caps of gstplaybin (or gstdecodebin)?

Arnout Vandecappelle arnout at mind.be
Tue Nov 18 08:40:36 CET 2008


On Friday 14 November 2008 11:10:26 Zhao, Halley wrote:
>   if (play_bin_src_caps = gst_pad_get_caps (play_bin_src_pad) == NULL) {

 You're missing brackets here: == binds tighter than =, so you're 
assigning 0 to play_bin_src_caps.

 Regards,
 Arnout
-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  D206 D44B 5155 DF98 550D  3F2A 2213 88AA A1C7 C933




More information about the gstreamer-devel mailing list