1. 25 Mar, 2015 5 commits
    • timav's avatar
      Determine the audible state in MediaSourcePlayer · 2284586b
      timav authored
      We set the audible state every time after the pipeline
      has successfully decoded the frame: to false if prerolling
      and true otherwise, taking the volume into account.
      
      Also, we set the state to false if the flow is going to be
       interrupted because of a coded error, abort or Pause.
      
      As well, we set audible state to false when the starvation
      happens and there is no data in the MediaDecoderJob queue,
      we believe this indicates the demuxer freeze.
      
      BUG=414810
      
      Review URL: https://codereview.chromium.org/1008093002
      
      Cr-Commit-Position: refs/heads/master@{#322102}
      2284586b
    • l.gombos's avatar
      Remove the intent to turn on Wextra for gcc (except MacOS). · 2ca5097c
      l.gombos authored
      We use clang with Wextra which seems to be more reliable and report less false positives. We no longer have an intent to turn on Wextra for gcc on posix-like systems any more (except MacOS).
      
      Review URL: https://codereview.chromium.org/1029953003
      
      Cr-Commit-Position: refs/heads/master@{#322101}
      2ca5097c
    • lionel.g.landwerlin's avatar
      media: VideoRenderImpl: display last available frame · f5096612
      lionel.g.landwerlin authored
      With a few webgl aquarium demo windows open and a 1080p video playing
      at the same time, you can notice the video dropping a lot frames. From
      time to time being stuck on a same frame for a second or more.
      
      This is due to the VideoRendererImpl dropping frames. It takes too
      much time for the compositor to paint its content, keeping the GPU
      busy and delaying decoded video frames too long. Decoded frames arrive
      too late and are never presented and we stick to an old frame.
      
      This changes the behavior of VideoRendererImpl to a best effort
      strategy where we might start displaying images past their display
      time, but at least we're not stuck on a same image for too long.
      
      BUG=chrome-os-partner:37786
      TEST=run the test as explained on the bug
      
      Review URL: https://codereview.chromium.org/1005303004
      
      Cr-Commit-Position: refs/heads/master@{#322100}
      f5096612
    • smckay's avatar
      Update scanning to scan files in small batches (well batches of 1)...this... · 5f0cd338
      smckay authored
      Update scanning to scan files in small batches (well batches of 1)...this fixes an issue where scanning appeared to be frozen for long periods of time.
      
      This change also sets the stage for making Scans cancelable...which we'll want to do when a user changes directory...and even allow them to explicitly cancel a scan from the details panel.
      
      TEST=MediaScannerTest
      
      TBR=hirono  // for mock_media_scanner.js
      
      Review URL: https://codereview.chromium.org/1038433002
      
      Cr-Commit-Position: refs/heads/master@{#322099}
      5f0cd338
    • lambroslambrou's avatar
      Add logging to CHECK failure during curtain-mode on Mac. · c013db41
      lambroslambrou authored
      BUG=446327
      
      Review URL: https://codereview.chromium.org/1026553005
      
      Cr-Commit-Position: refs/heads/master@{#322098}
      c013db41
  2. 24 Mar, 2015 35 commits