[omxplayer] Don't fail to open a stream with zero dimensions
authorpopcornmix <popcornmix@gmail.com>
Mon, 27 Jan 2014 20:53:14 +0000 (20:53 +0000)
committerpopcornmix <popcornmix@gmail.com>
Tue, 4 Feb 2014 17:37:44 +0000 (17:37 +0000)
commit25cf3bd25054641f9564cda50ef999e96fe2f6c2
tree448a8cfca14ce6fcb5f40aa2aa89bb8c004146f8
parent290714cd78d535f72e2cc0eaf8602fac1746fa8a
[omxplayer] Don't fail to open a stream with zero dimensions

The fast channel switching mod means OMXVideo may be opened before hints.width/hints/width is valid.
If we fail here, we do get opened again when the width/height are available, but we have already skipped
some init code like openeing the EDL files. Behave more like dvdplayer and ignore the zero dimensions.
xbmc/cores/omxplayer/OMXVideo.cpp