Skip to content

Commit

Permalink
d3d va: disable multithread decoding by default to avoid crash
Browse files Browse the repository at this point in the history
crash a lot when stopping the playback
  • Loading branch information
wang-bin committed Apr 7, 2016
1 parent 2bd167c commit 075e3cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/codec/video/VideoDecoderD3D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ VideoDecoderD3D::VideoDecoderD3D(VideoDecoderD3DPrivate &d)
// dynamic properties about static property details. used by UI
// format: detail_property
setProperty("detail_surfaces", tr("Decoding surfaces") + QStringLiteral(" ") + tr("0: auto"));
setProperty("threads", 1); //FIXME: mt crash on close
}

void VideoDecoderD3D::setSurfaces(int num)
Expand Down

0 comments on commit 075e3cc

Please sign in to comment.