<?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>159460</bug_id>
          
          <creation_ts>2016-07-06 03:32:55 -0700</creation_ts>
          <short_desc>[GTK] When building with GSTREAMER_GL it&apos;s not possible to get video frames/caps until playing state</short_desc>
          <delta_ts>2016-07-12 03:04:19 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Miguel Gomez">magomez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>magomez</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1208156</commentid>
    <comment_count>0</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2016-07-06 03:32:55 -0700</bug_when>
    <thetext>The caps and frames of the video are not available until the video starts playing, unlike VideoSinkGstreamer, where they are available before.

This causes, for example, that the video element stays black instead of showing the first frame when it hasn&apos;t started playing. Also, if we are trying to grab the video frames to paint them in a canvas or webgl, this could lead to a crash because there&apos;s no frame and the reported size of the video is (0,0).

Actually the test media/video-canvas-createPattern.html crashes because of that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1209987</commentid>
    <comment_count>1</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2016-07-12 03:02:49 -0700</bug_when>
    <thetext>The fix to bug 159466 has also fixed this.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>