Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some Mode field can be strings #28

Merged
merged 1 commit into from
Sep 2, 2015
Merged

Some Mode field can be strings #28

merged 1 commit into from
Sep 2, 2015

Conversation

mhor
Copy link
Owner

@mhor mhor commented Sep 1, 2015

fix #27

@mhor
Copy link
Owner Author

mhor commented Sep 1, 2015

@yupmin could you check if it's look good to you?


return $mode;
return new Mode($rateMode[0], $rateMode[1]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cs

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GrahamCampbell what is the issue?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there should be exactly one space following return, not two

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh nice catch!

@mhor mhor force-pushed the fix_27 branch 2 times, most recently from 4787f7f to b6dd4e5 Compare September 1, 2015 12:10
@mhor
Copy link
Owner Author

mhor commented Sep 1, 2015

@GrahamCampbell thanks for review

*
* @return Mode
*/
public function create($rateMode)
{
$rateMode = (array) $rateMode;
if (!isset($rateMode[1])) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be cleaner to leave a newline before this if statement

@yupmin
Copy link

yupmin commented Sep 2, 2015

@mhor Yes. I Tested this. It works well.

mhor added a commit that referenced this pull request Sep 2, 2015
Some Mode field can be strings
@mhor mhor merged commit 6cba9f8 into master Sep 2, 2015
@mhor
Copy link
Owner Author

mhor commented Sep 2, 2015

@yupmin tag as 1.4.3

@mhor mhor deleted the fix_27 branch September 3, 2015 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

if Video, Audio Track->format is string, value is invalid.
3 participants