Merge pull request #100 from nkaramolegos/fix_frame_file_sink

Fix bug with the name of files
This commit is contained in:
Manolis Surligas 2017-08-03 13:21:37 +03:00 committed by GitHub
commit 7744d489a7
1 changed files with 2 additions and 2 deletions

View File

@ -86,12 +86,12 @@ namespace gr
filename.append (buffer);
if (!filename.compare(d_filename_prev))
if (filename.compare(d_filename_prev)==0)
{
d_filename_prev.assign(filename);
filename.append ("_");
d_counter++;
filename.append(std::to_string(d_counter));
d_filename_prev.assign(filename);
}
else
{