<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>103723</bug_id>
          
          <creation_ts>2012-11-30 01:41:14 -0800</creation_ts>
          <short_desc>[EFL] Volume control unable to show when preload=&quot;none&quot; and src file is remote</short_desc>
          <delta_ts>2013-01-11 08:39:12 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit EFL</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>106178</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Halton Huo">halton.huo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>gyuyoung.kim</cc>
    
    <cc>laszlo.gombos</cc>
    
    <cc>lucas.de.marchi</cc>
    
    <cc>rakuco</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>779935</commentid>
    <comment_count>0</comment_count>
    <who name="Halton Huo">halton.huo</who>
    <bug_when>2012-11-30 01:41:14 -0800</bug_when>
    <thetext>Build EFL port on trunk@136087 and run MiniBrowser to access http://www.webmfiles.org/demo-files/, the volume control unable to show whatever preview and playing.

The related html code is:
&lt;video width=&quot;560&quot; height=&quot;320&quot; controls=&quot;controls&quot; preload=&quot;none&quot;&gt;&lt;source src=&quot;http://video.webmfiles.org/big-buck-bunny_trailer.webm&quot; type=&quot;video/webm&quot;&gt;&lt;/video&gt;

I dump the page locally and do changes
* remove preload=&quot;none&quot;, then bug disappear
* download webm file to local and change src point to local, the volume control shows up after click play, the preview still show no volume control. 

Another message is when this bug happens, there is error on console:
ERR&lt;16772&gt;:ecore ecore_main.c:1509 _ecore_main_fd_handlers_bads_rem() Removing bad fds
ERR&lt;16772&gt;:ecore ecore_main.c:1551 _ecore_main_fd_handlers_bads_rem() No bad fd found. Maybe a foreign fd from glib?

I&apos;ll continue to dig out the root cause.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>797761</commentid>
    <comment_count>1</comment_count>
      <attachid>180846</attachid>
    <who name="Halton Huo">halton.huo</who>
    <bug_when>2012-12-27 22:05:25 -0800</bug_when>
    <thetext>Created attachment 180846
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>797762</commentid>
    <comment_count>2</comment_count>
      <attachid>180846</attachid>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2012-12-27 22:15:55 -0800</bug_when>
    <thetext>Comment on attachment 180846
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=180846&amp;action=review

&gt; Source/WebCore/platform/efl/RenderThemeEfl.cpp:-1084
&gt; -    return (part != MediaMuteButtonPart);

Bug 97574 implemented this function before. https://bugs.webkit.org/show_bug.cgi?id=97574#c0

Did you test this case ?

- media/video-no-audio.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>797765</commentid>
    <comment_count>3</comment_count>
    <who name="Halton Huo">halton.huo</who>
    <bug_when>2012-12-27 22:32:17 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Did you test this case ?
&gt; 
&gt; - media/video-no-audio.html
The mute/unmute button shows up, as well as GTK port. So my fix should be wrong solution, will continue to work out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>797799</commentid>
    <comment_count>4</comment_count>
      <attachid>180846</attachid>
    <who name="Kenneth Rohde Christiansen">kenneth</who>
    <bug_when>2012-12-28 00:55:11 -0800</bug_when>
    <thetext>Comment on attachment 180846
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=180846&amp;action=review

&gt; Source/WebCore/ChangeLog:9
&gt; +
&gt; +        Enable state handling for MediaMuteButtonPart so that mute/unmute button could always be shown.
&gt; +

if it always should be shown why does the method then exist?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>805147</commentid>
    <comment_count>5</comment_count>
    <who name="Halton Huo">halton.huo</who>
    <bug_when>2013-01-11 03:55:32 -0800</bug_when>
    <thetext>With my fix for GTK bug #106436, I suppose GTK build will have same issue. But I&apos;m wrong(GTK does not meet this bug).

The audioTracks in (https://trac.webkit.org/browser/trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp#L639) is always 0 with gstreamer 0.10 even start playing. With GTK build(gstreamer 1.0), audioTracks will bigger than 0 if start playing.

Now I&apos;m guessing this is bug for gstreamer0.10. Now I&apos;m trying to build EFL port with gstreamer1.0. 

Ubuntu can follow the instruction at https://wiki.ubuntu.com/Novacut/GStreamer1.0. (libgstreamer1.0-dev and libgstreamer-plugins-base1.0-dev need to be installed also).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>805154</commentid>
    <comment_count>6</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2013-01-11 04:02:09 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; With my fix for GTK bug #106436, I suppose GTK build will have same issue. But I&apos;m wrong(GTK does not meet this bug).
&gt; 
&gt; The audioTracks in (https://trac.webkit.org/browser/trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp#L639) is always 0 with gstreamer 0.10 even start playing. With GTK build(gstreamer 1.0), audioTracks will bigger than 0 if start playing.
&gt; 
&gt; Now I&apos;m guessing this is bug for gstreamer0.10. Now I&apos;m trying to build EFL port with gstreamer1.0. 

The EFL port already builds with gstreamer 1.0. It is part of jhbuild.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>805158</commentid>
    <comment_count>7</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2013-01-11 04:11:57 -0800</bug_when>
    <thetext>(In reply to comment #6)
&gt; (In reply to comment #5)
&gt; &gt; With my fix for GTK bug #106436, I suppose GTK build will have same issue. But I&apos;m wrong(GTK does not meet this bug).
&gt; &gt; 
&gt; &gt; The audioTracks in (https://trac.webkit.org/browser/trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp#L639) is always 0 with gstreamer 0.10 even start playing. With GTK build(gstreamer 1.0), audioTracks will bigger than 0 if start playing.
&gt; &gt; 
&gt; &gt; Now I&apos;m guessing this is bug for gstreamer0.10. Now I&apos;m trying to build EFL port with gstreamer1.0. 
&gt; 
&gt; The EFL port already builds with gstreamer 1.0. It is part of jhbuild.

Just pull later trunk and pass &quot;--update-efl&quot; to the build-webkit script. It will pull and build gstreamer 1.0.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>805281</commentid>
    <comment_count>8</comment_count>
    <who name="Halton Huo">halton.huo</who>
    <bug_when>2013-01-11 08:39:12 -0800</bug_when>
    <thetext>Yes, this bug disappear with trunk@139434, so close as dup of bug #106178

*** This bug has been marked as a duplicate of bug 106178 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>180846</attachid>
            <date>2012-12-27 22:05:25 -0800</date>
            <delta_ts>2012-12-28 00:55:11 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-103723-20121228140536.patch</filename>
            <type>text/plain</type>
            <size>2589</size>
            <attacher name="Halton Huo">halton.huo</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTM4NDkyCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb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