<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:deathsimple@vodafone.de" title="Christian König <deathsimple@vodafone.de>"> <span class="fn">Christian König</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - mplayer crashes playing some files using vdpau output"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84140">bug 84140</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>deathsimple@vodafone.de
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - mplayer crashes playing some files using vdpau output"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84140#c24">Comment # 24</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - mplayer crashes playing some files using vdpau output"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84140">bug 84140</a>
              from <span class="vcard"><a class="email" href="mailto:deathsimple@vodafone.de" title="Christian König <deathsimple@vodafone.de>"> <span class="fn">Christian König</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=107497" name="attach_107497" title="Possible fix">attachment 107497</a> <a href="attachment.cgi?id=107497&action=edit" title="Possible fix">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=84140&attachment=107497'>[review]</a>
Possible fix

(In reply to Marek Olšák from <a href="show_bug.cgi?id=84140#c21">comment #21</a>)
<span class="quote">> The context should be fully initialized to do anything no matter what the
> user API is, is that right, Christian?</span >

Correct, yes. The context is the same we do CC conversion with and there it
works perfectly fine. We also hold a lock to make sure that the context isn't
used by more than one theread at the same time.

<span class="quote">> The auxiliary context is for cases when you don't have any context around
> and need to submit some commands. It saves the context_create/destroy
> overhead but not much else. If the context created by VDPAU isn't
> initialized properly, the aux context can be used (if it works).</span >

Well, using the auxiliary context migth work around the problem but won't
really solve it. Anyway a patch going this approach is attached, please test.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>