summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
Diffstat (limited to 'media')
-rw-r--r--media/tools/player_x11/player_x11.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/tools/player_x11/player_x11.cc b/media/tools/player_x11/player_x11.cc
index 973e22d..4a66bfa 100644
--- a/media/tools/player_x11/player_x11.cc
+++ b/media/tools/player_x11/player_x11.cc
@@ -257,7 +257,7 @@ int main(int argc, char** argv) {
audio_only = !pipeline->IsRendered(media::mime_type::kMajorTypeVideo);
message_loop.PostTask(FROM_HERE,
- NewRunnableFunction(PeriodicalUpdate, pipeline.get(),
+ NewRunnableFunction(PeriodicalUpdate, pipeline,
&message_loop, audio_only));
message_loop.Run();
} else{