Skip to content

Commit

Permalink
fix(ffmpeg_producer): remove incorrect comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ronag committed Sep 21, 2020
1 parent a2e4797 commit de0f85d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/ffmpeg/producer/av_input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ void Input::internal_reset()
FF(av_dict_set(&options, "reconnect", "1", 0)); // HTTP reconnect
FF(av_dict_set(&options, "referer", filename_.c_str(), 0)); // HTTP referer header
} else if (url_parts.first == L"rtmp" || url_parts.first == L"rtmps") {
FF(av_dict_set(&options, "rtmp_live", "live", 0)); // HTTP referer header
FF(av_dict_set(&options, "rtmp_live", "live", 0));
} else if (PROTOCOLS_TREATED_AS_FORMATS.find(url_parts.first) != PROTOCOLS_TREATED_AS_FORMATS.end()) {
input_format = av_find_input_format(u8(url_parts.first).c_str());
filename_ = u8(url_parts.second);
Expand Down

0 comments on commit de0f85d

Please sign in to comment.