From 4f4c99e51a7b6774d2ec09cf8affd4682095833c Mon Sep 17 00:00:00 2001 From: martii Date: Fri, 18 Apr 2014 16:20:07 +0200 Subject: [PATCH] libeplayer3: minimize debug output Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/2e8a96a309127a051da2f369a5e47e571a34c195 Author: martii Date: 2014-04-18 (Fri, 18 Apr 2014) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- libeplayer3/output.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libeplayer3/output.cpp b/libeplayer3/output.cpp index b1b3cfa..47beaa6 100644 --- a/libeplayer3/output.cpp +++ b/libeplayer3/output.cpp @@ -156,7 +156,7 @@ bool Output::Stop() OpenThreads::ScopedLock a_lock(audioMutex); if (videofd > -1) { - dioctl(videofd, VIDEO_CLEAR_BUFFER, NULL); + ioctl(videofd, VIDEO_CLEAR_BUFFER, NULL); /* set back to normal speed (end trickmodes) */ dioctl(videofd, VIDEO_SET_SPEED, DVB_SPEED_NORMAL_PLAY); if (dioctl(videofd, VIDEO_STOP, NULL)) @@ -164,7 +164,7 @@ bool Output::Stop() } if (audiofd > -1) { - dioctl(audiofd, AUDIO_CLEAR_BUFFER, NULL); + ioctl(audiofd, AUDIO_CLEAR_BUFFER, NULL); /* set back to normal speed (end trickmodes) */ dioctl(audiofd, AUDIO_SET_SPEED, DVB_SPEED_NORMAL_PLAY); if (dioctl(audiofd, AUDIO_STOP, NULL)) @@ -297,7 +297,7 @@ bool Output::SwitchAudio(AVStream *stream) return true; if (audiofd > -1) { dioctl(audiofd, AUDIO_STOP, NULL); - dioctl(audiofd, AUDIO_CLEAR_BUFFER, NULL); + ioctl(audiofd, AUDIO_CLEAR_BUFFER, NULL); } audioStream = stream; if (stream) { @@ -318,7 +318,7 @@ bool Output::SwitchVideo(AVStream *stream) return true; if (videofd > -1) { dioctl(videofd, VIDEO_STOP, NULL); - dioctl(videofd, VIDEO_CLEAR_BUFFER, NULL); + ioctl(videofd, VIDEO_CLEAR_BUFFER, NULL); } videoStream = stream; if (stream) {