[totem] browser-plugin: Fix MOV streams with hidden video
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] browser-plugin: Fix MOV streams with hidden video
- Date: Wed, 10 Oct 2012 16:03:19 +0000 (UTC)
commit 4a10b7662895d1ed72db62a438372862d4c65a98
Author: Bastien Nocera <hadess hadess net>
Date: Wed Oct 10 18:01:15 2012 +0200
browser-plugin: Fix MOV streams with hidden video
We would treat MOV streams with no set height as "audio-only" because
the undefined height (-1) is smaller than the smallest our controls bar
can be. This code has apparently been broken since 2008, and nobody
noticed?
https://bugzilla.gnome.org/show_bug.cgi?id=680714
browser-plugin/totemPlugin.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/browser-plugin/totemPlugin.cpp b/browser-plugin/totemPlugin.cpp
index f820656..9d97e36 100644
--- a/browser-plugin/totemPlugin.cpp
+++ b/browser-plugin/totemPlugin.cpp
@@ -2151,7 +2151,7 @@ totemPlugin::Init (NPMIMEType mimetype,
}
#endif /* TOTEM_GMP_PLUGIN */
#if defined(TOTEM_NARROWSPACE_PLUGIN)
- if (height <= 16 && !mControllerHidden) {
+ if (height > 0 && height <= 16 && !mControllerHidden) {
mAudioOnly = true;
}
#endif /* TOTEM_NARROWSPACE_PLUGIN */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]