Skip to content

Commit

Permalink
changed printf to logger statements
Browse files Browse the repository at this point in the history
  • Loading branch information
naxuroqa committed Aug 21, 2014
1 parent 9e9bc0a commit 12bc76d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/core/AVManager.vala
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ namespace Venom {
Logger.log(LogLevel.WARNING, e.message);
break;
case Gst.MessageType.EOS:
stdout.printf(message.src.name);
Logger.log(LogLevel.DEBUG, message.src.name);
break;

case Gst.MessageType.STATE_CHANGED:
Expand All @@ -303,10 +303,9 @@ namespace Venom {
Gst.State pending_state;

message.parse_state_changed (out old_state, out new_state, out pending_state);
stdout.printf ("Pipeline state changed from %d to %d:\n",
(old_state),
(new_state));

Logger.log(LogLevel.DEBUG, "Pipeline state changed from %d to %d:\n".printf(
old_state, new_state)
);
break;

default:
Expand Down

0 comments on commit 12bc76d

Please sign in to comment.