Blog: Intel HD Audio support for AQEMU (and other bugs): aqemu-0.8.2-Use_Video_Stream_Compression-bugfix.patch

File aqemu-0.8.2-Use_Video_Stream_Compression-bugfix.patch, 701 bytes (added by retracile, 10 years ago)

bugfix for the video stream compression option

  • aqemu-0.8.2

    diff -urN aqemu-0.8.2.orig/VM.cpp aqemu-0.8.2/VM.cpp
    old new  
    45634563                                else
    45644564                                        AQError( "bool Virtual_Machine::Load_VM( const QString &file_name )", "SPICE image compression type invalid!" );
    45654565                               
    4566                                 SPICE.Use_Video_Stream_Compression( Second_Element.firstChildElement( ! "Use_Video_Stream_Compression" ).text() == "false" );
     4566                                SPICE.Use_Video_Stream_Compression( Second_Element.firstChildElement( "Use_Video_Stream_Compression" ).text() != "false" );
    45674567                               
    45684568                                SPICE.Use_Renderer( Second_Element.firstChildElement( "Use_Renderer" ).text() == "true" );
    45694569