<?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>183591</bug_id>
          
          <creation_ts>2018-03-13 03:27:34 -0700</creation_ts>
          <short_desc>[MSE][GStreamer] Provide a test for r237033</short_desc>
          <delta_ts>2020-12-11 13:34:43 -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>WPE WebKit</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></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="Yacine Bandou">bandou.yacine</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aperez</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>calvaris</cc>
    
    <cc>cturner</cc>
    
    <cc>loic.yhuel</cc>
    
    <cc>olivier.blin</cc>
    
    <cc>peng.liu6</cc>
    
    <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1406088</commentid>
    <comment_count>0</comment_count>
    <who name="Yacine Bandou">bandou.yacine</who>
    <bug_when>2018-03-13 03:27:34 -0700</bug_when>
    <thetext>Swap the aspectRatioNumerator and aspectRatioDenomirator in the formula.

&quot;height * (static_cast&lt;float&gt;(pixelAspectRatioDenominator) / static_cast&lt;float&gt;(pixelAspectRatioNumerator))&quot; instead of 
&quot;height * (static_cast&lt;float&gt;(pixelAspectRatioNumerator) / static_cast&lt;float&gt;(pixelAspectRatioDenominator))&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1406089</commentid>
    <comment_count>1</comment_count>
      <attachid>335687</attachid>
    <who name="Yacine Bandou">bandou.yacine</who>
    <bug_when>2018-03-13 03:36:22 -0700</bug_when>
    <thetext>Created attachment 335687
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1406094</commentid>
    <comment_count>2</comment_count>
      <attachid>335687</attachid>
    <who name="Xabier Rodríguez Calvar">calvaris</who>
    <bug_when>2018-03-13 04:33:30 -0700</bug_when>
    <thetext>Comment on attachment 335687
Patch

Oops!

I think it would be nice to have a test for this does not happen again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1406637</commentid>
    <comment_count>3</comment_count>
    <who name="Yacine Bandou">bandou.yacine</who>
    <bug_when>2018-03-15 02:50:39 -0700</bug_when>
    <thetext>(In reply to Xabier Rodríguez Calvar from comment #2)
&gt; Comment on attachment 335687 [details]
&gt; Patch
&gt; 
&gt; Oops!
&gt; 
&gt; I think it would be nice to have a test for this does not happen again.

I&apos;ll see what I can do for the test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1445442</commentid>
    <comment_count>4</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2018-07-26 09:21:59 -0700</bug_when>
    <thetext>(In reply to Yacine Bandou from comment #3)
&gt; (In reply to Xabier Rodríguez Calvar from comment #2)
&gt; &gt; Comment on attachment 335687 [details]
&gt; &gt; Patch
&gt; &gt; 
&gt; &gt; Oops!
&gt; &gt; 
&gt; &gt; I think it would be nice to have a test for this does not happen again.
&gt; 
&gt; I&apos;ll see what I can do for the test.

Hi Yacine! Are you still willing to write a test case for this?
Note that the function was moved to “GStramerCommon.cpp” a while
ago.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1445450</commentid>
    <comment_count>5</comment_count>
    <who name="Yacine Bandou">bandou.yacine</who>
    <bug_when>2018-07-26 09:56:16 -0700</bug_when>
    <thetext>Lack of time, I can&apos;t do it now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1468008</commentid>
    <comment_count>6</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2018-10-11 04:44:59 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 190464 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1468022</commentid>
    <comment_count>7</comment_count>
    <who name="Xabier Rodríguez Calvar">calvaris</who>
    <bug_when>2018-10-11 06:48:54 -0700</bug_when>
    <thetext>I did a lousy review of bug 190464 and we should keep this open to track a possible test so that that bug does not regress. Besides, it&apos;s a pity that the patch does not have the proper author, who should be Yacine, sorry for that.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>335687</attachid>
            <date>2018-03-13 03:36:22 -0700</date>
            <delta_ts>2020-12-11 13:34:43 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-183591-20180313113621.patch</filename>
            <type>text/plain</type>
            <size>1845</size>
            <attacher name="Yacine Bandou">bandou.yacine</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjI5NTc1CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggYWQ4NWM0ZDZmYjJhZDJi
MjFhZmZlN2YwYTA3NTQzZWM4YmExOTJkMy4uYTJjY2Q5NmJmMDkyMmE1YzcxN2Q2YWU0YjNjMTBl
ZWVmNDlmZmMyMiAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE1IEBACisyMDE4LTAzLTEzICBZYWNp
bmUgQmFuZG91ICA8eWFjaW5lLmJhbmRvd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GJkY2U3ODY5MWY5YTY4NTdlYjYyN2E0Y2U5MWMxMWIxZWQgMTAwNjQ0
Ci0tLSBhL1NvdXJjZS9XZWJDb3JlL3BsYXRmb3JtL2dyYXBoaWNzL2dzdHJlYW1lci9HU3RyZWFt
ZXJVdGlsaXRpZXMuY3BwCisrKyBiL1NvdXJjZS9XZWJDb3JlL3BsYXRmb3JtL2dyYXBoaWNzL2dz
dHJlYW1lci9HU3RyZWFtZXJVdGlsaXRpZXMuY3BwCkBAIC0xMjMsNyArMTIzLDcgQEAgc3RkOjpv
cHRpb25hbDxGbG9hdFNpemU+IGdldFZpZGVvUmVzb2x1dGlvbkZyb21DYXBzKGNvbnN0IEdzdENh
cHMqIGNhcHMpCiAgICAgICAgIHBpeGVsQXNwZWN0UmF0aW9EZW5vbWluYXRvciA9IEdTVF9WSURF
T19JTkZPX1BBUl9EKCZpbmZvKTsKICAgICB9CiAKLSAgICByZXR1cm4gc3RkOjptYWtlX29wdGlv
bmFsKEZsb2F0U2l6ZSh3aWR0aCwgaGVpZ2h0ICogKHN0YXRpY19jYXN0PGZsb2F0PihwaXhlbEFz
cGVjdFJhdGlvTnVtZXJhdG9yKSAvIHN0YXRpY19jYXN0PGZsb2F0PihwaXhlbEFzcGVjdFJhdGlv
RGVub21pbmF0b3IpKSkpOworICAgIHJldHVybiBzdGQ6Om1ha2Vfb3B0aW9uYWwoRmxvYXRTaXpl
KHdpZHRoLCBoZWlnaHQgKiAoc3RhdGljX2Nhc3Q8ZmxvYXQ+KHBpeGVsQXNwZWN0UmF0aW9EZW5v
bWluYXRvcikgLyBzdGF0aWNfY2FzdDxmbG9hdD4ocGl4ZWxBc3BlY3RSYXRpb051bWVyYXRvcikp
KSk7CiB9CiAKIGJvb2wgZ2V0U2FtcGxlVmlkZW9JbmZvKEdzdFNhbXBsZSogc2FtcGxlLCBHc3RW
aWRlb0luZm8mIHZpZGVvSW5mbykK
</data>
<flag name="commit-queue"
          id="354285"
          type_id="3"
          status="-"
          setter="calvaris"
    />
          </attachment>
      

    </bug>

</bugzilla>