Skip to content

Commit

Permalink
fix(core): streamer: remove usage of source info provider
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultBee committed Dec 19, 2024
1 parent b11b2c9 commit f0dda84
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -557,11 +557,7 @@ open class DefaultStreamer(
* If sourceOrientationProvider is not null, we need to get oriented size.
* For example, the [FlvMuxer] `onMetaData` event needs to know the oriented size.
*/
if (sourceInfoProvider != null) {
videoConfig.rotateFromNaturalOrientation(context, targetRotation)
} else {
videoConfig
}
videoConfig.rotateFromNaturalOrientation(context, targetRotation)
} else {
null
}
Expand Down

0 comments on commit f0dda84

Please sign in to comment.