title: DirectShowPlayerService::doRender: Unresolved error code 0x80040266 ()
body: <p>Helllo
  I was trying to play music on qt where I'm going to click on a button "jouer" to play the music and  that was my code :</p>
  
  <pre><code>#include "jouer.h"
  #include "ui_jouer.h"
  Jouer::Jouer(QWidget *parent) :
  QDialog(parent),
  ui(new Ui::Jouer)
  {
  ui-&gt;setupUi(this);
  ui-&gt;tabmusic-&gt;setModel(tmpmusique.afficher()); //show data base
  player = new QMediaPlayer(this);
  connect(player, &amp;QMediaPlayer::positionChanged, this, &amp;Jouer::on_positionChanged);
  connect(player, &amp;QMediaPlayer::durationChanged, this, &amp;Jouer::on_durationChanged);
  }
  Jouer::~Jouer()
  {
  delete ui;
  }
  
  void Jouer::on_pushButton_3_clicked()
  {
  close();
  }
  
  void Jouer::on_pushButton_2_clicked()
  {
  jouertemps = new Musiqueavectemps(this); //go to another window
  jouertemps-&gt;show();
  }
  void Jouer::on_pushButton_clicked() //that's the playing button where there is the error
  {
  player-&gt;setMedia(QUrl::fromLocalFile("C:\\Users\\Louay\\Desktop\\Music\\1.mp3"));
  player-&gt;setVolume(50);
  player-&gt;play();
  }
  </code></pre>
  
  <p>it compiles correctly but when I click on the button "jouer"(jouer means play in French) it shows an error which is DirectShowPlayerService::doRender: Unresolved error code 0x80040266 () 
  well I made some search in the internet on that type of errors of Unresolved error code 0x... () </p>
  
  <p>well it says that my error 0x80040266() is because : 
  Pins cannot connect because they don't support the same transport.
  For example, the upstream filter might require the IAsyncReader interface, while the downstream filter requires IMemInputPin.</p>
  
  <p>there is a lot of errors of  DirectShowPlayerService and I just explained the cause of my type its not the same as the other answered questions ..and I don't know how to solve this .. please do not close this post</p>
  
  <p>can anyone help me please </p>
  
  <p>thanks</p>