Skip to content

Commit

Permalink
Merge pull request #184 from andrejlevkovitch/fix-log-braces
Browse files Browse the repository at this point in the history
fix problem with log library and if-else without braces
  • Loading branch information
dusty-nv authored Nov 28, 2023
2 parents d374d42 + bb98e57 commit 7cf4d9e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions video/videoOptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,12 @@ void videoOptions::Print( const char* prefix ) const
{
LogInfo("------------------------------------------------\n");

if( prefix != NULL )
if( prefix != NULL ) {
LogInfo("%s video options:\n", prefix);
else
}
else {
LogInfo("video options:\n");
}

LogInfo("------------------------------------------------\n");
resource.Print(" ");
Expand Down Expand Up @@ -458,4 +460,3 @@ videoOptions::CodecType videoOptions::CodecTypeFromStr( const char* str )
return gst_default_codec();
}


0 comments on commit 7cf4d9e

Please sign in to comment.