Skip to content

Commit

Permalink
Code format
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaowei-guan committed Feb 28, 2024
1 parent 179f082 commit 14b30f0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/video_player_avplay/lib/src/video_player_tizen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@ class VideoPlayerTizen extends VideoPlayerPlatform {
int playerId, StreamingPropertyType type) async {
final StreamingPropertyMessage streamingPropertyMessage =
await _api.getStreamingProperty(StreamingPropertyTypeMessage(
playerId: playerId, streamingPropertyType: _streamingPropertyType[type]!));
playerId: playerId,
streamingPropertyType: _streamingPropertyType[type]!));
return streamingPropertyMessage.streamingProperty;
}

Expand Down
3 changes: 2 additions & 1 deletion packages/video_player_avplay/tizen/src/plus_player.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ class PlusPlayer : public VideoPlayer {
bool IsReady() override;
flutter::EncodableList GetTrackInfo(std::string track_type) override;
bool SetTrackSelection(int32_t track_id, std::string track_type) override;
std::string GetStreamingProperty(const std::string& streaming_property_type) override;
std::string GetStreamingProperty(
const std::string &streaming_property_type) override;

private:
bool IsLive();
Expand Down
5 changes: 4 additions & 1 deletion packages/video_player_avplay/tizen/src/video_player.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ class VideoPlayer {
virtual bool IsReady() = 0;
virtual flutter::EncodableList GetTrackInfo(std::string track_type) = 0;
virtual bool SetTrackSelection(int32_t track_id, std::string track_type) = 0;
virtual std::string GetStreamingProperty(const std::string& streaming_property_type){ return "";};
virtual std::string GetStreamingProperty(
const std::string &streaming_property_type) {
return "";
};

protected:
virtual void GetVideoSize(int32_t *width, int32_t *height) = 0;
Expand Down

0 comments on commit 14b30f0

Please sign in to comment.