[Approved] Setting Audio/Subtitle Stream before starting Video (1 Viewer)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi,

    I would like to submit a little change in the code part that use to analyse and select audio/subtitle stream.
    This idea of changing was start when try to make it work with LAVF beta Splitter (it doesn't work very well yet with MP).
    With this change Audio and Subtitle Stream are set before video start accordly with the prefer setup setting.

    This patch solve the issue (no sound) when i resume a BD and when the first track is DTS-HD. It seems that the decoder FFDShow Audio (here) stay on DTS-HD stream and didn't see that MP have change it to default Audio Stream (French for example).

    With this patch the analyse and set are made before (hr.run) and the movie start directly with the good track.

    This issue appear maybe with somes AVR and only in certain case. But it would be great to set this setting before the video start.
    This idea comes from Tourettes :)

    EDIT : 2010.12.01 Updated against SVN :)

    Thanks,
    Sebastiii.
     

    Attachments

    • vmr7_loading_order.diff
      954 bytes
    • vmr7_loading_order_V2.diff
      888 bytes

    Users who are viewing this thread

    Top Bottom