\hypertarget{group__Emotion__Video}{}\section{Video control functions}
\label{group__Emotion__Video}\index{Video control functions@{Video control functions}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Emotion__Video_gaee753fa08ed25ceaea8b606de30dd667}{emotion\+\_\+object\+\_\+border\+\_\+set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, int l, int r, int t, int b)
\begin{DoxyCompactList}\small\item\em Set borders for the emotion object. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Emotion__Video_ga8d03a0d31729294f5cc75c344bf5d5b5}{emotion\+\_\+object\+\_\+border\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, int $\ast$l, int $\ast$r, int $\ast$t, int $\ast$b)
\begin{DoxyCompactList}\small\item\em Get the borders set for the emotion object. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Emotion__Video_gad4d18a546118b79145194ac4fafca142}{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, int r, int g, int b, int a)
\begin{DoxyCompactList}\small\item\em Set a color for the background rectangle of this emotion object. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Emotion__Video_gac0f479da534e3d45d2495571cc681734}{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, int $\ast$r, int $\ast$g, int $\ast$b, int $\ast$a)
\begin{DoxyCompactList}\small\item\em Get the background color set for the emotion object. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Emotion__Video_ga553f99a710bc66a1b91fc1b25eb2a2d0}{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, \hyperlink{Emotion_8h_a905d7e9f5bd2ad43de39d174ffc9bf69}{Emotion\+\_\+\+Aspect} a)
\begin{DoxyCompactList}\small\item\em Set whether emotion should keep the aspect ratio of the video. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{Emotion_8h_a905d7e9f5bd2ad43de39d174ffc9bf69}{Emotion\+\_\+\+Aspect} \hyperlink{group__Emotion__Video_gac095aeaa018d8de102996439dbd7646d}{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the current emotion aspect ratio policy. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} double \hyperlink{group__Emotion__Video_ga8edfce29000a58e41e1a8bca83ae66d8}{emotion\+\_\+object\+\_\+ratio\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Retrieve the video aspect ratio of the media file loaded. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Emotion__Video_ga43910636929c5488347a022b9305b029}{emotion\+\_\+object\+\_\+size\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, int $\ast$iw, int $\ast$ih)
\begin{DoxyCompactList}\small\item\em Retrieve the video size of the loaded file. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Emotion__Video_gaae5ed5bc593be6d3c8ba9b77a4c9ff7d}{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} smooth)
\begin{DoxyCompactList}\small\item\em Sets whether to use of high-\/quality image scaling algorithm of the given video object. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Emotion__Video_ga88eacf2ed96d36989ab558d445d24cb9}{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Gets whether the high-\/quality image scaling algorithm of the given video object is used. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Emotion__Video_gab01124714bf0633b7552c97152022233}{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} mute)
\begin{DoxyCompactList}\small\item\em Set the mute video option for this object. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Emotion__Video_ga13d66221d0ea3dee256b138bf3d0ff64}{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the mute video option of this object. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Emotion__Video_ga41b3d5c74c826a4d75c59b02eb9a39ce}{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, const char $\ast$filepath)
\begin{DoxyCompactList}\small\item\em Set the video\textquotesingle{}s subtitle file path. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} const char $\ast$ \hyperlink{group__Emotion__Video_gac0624acb15bfa9261f7c2cc855a84e9e}{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the video\textquotesingle{}s subtitle file path. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} int \hyperlink{group__Emotion__Video_ga823c30f96580cd8cf9081eb27e9e9c16}{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+count} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the number of available video channel. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} const char $\ast$ \hyperlink{group__Emotion__Video_ga1f1b0d9ad0d5cf2529315591e216714e}{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+name\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, int channel)
\begin{DoxyCompactList}\small\item\em Get the name of a given video channel. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Emotion__Video_gaec4218bfc5b7ace2e8aadc62a9bc18ef}{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, int channel)
\begin{DoxyCompactList}\small\item\em Set the channel for a given video object. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} int \hyperlink{group__Emotion__Video_gaa5bfc188973e2ec6c28fc4a37c28bd08}{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the channel for a given video object. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}


\subsection{Function Documentation}
\mbox{\Hypertarget{group__Emotion__Video_gaee753fa08ed25ceaea8b606de30dd667}\label{group__Emotion__Video_gaee753fa08ed25ceaea8b606de30dd667}} 
\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+border\+\_\+set@{emotion\+\_\+object\+\_\+border\+\_\+set}}
\index{emotion\+\_\+object\+\_\+border\+\_\+set@{emotion\+\_\+object\+\_\+border\+\_\+set}!Video control functions@{Video control functions}}
\subsubsection{\texorpdfstring{emotion\+\_\+object\+\_\+border\+\_\+set()}{emotion\_object\_border\_set()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void emotion\+\_\+object\+\_\+border\+\_\+set (\begin{DoxyParamCaption}\item[{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj,  }\item[{int}]{l,  }\item[{int}]{r,  }\item[{int}]{t,  }\item[{int}]{b }\end{DoxyParamCaption})}



Set borders for the emotion object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The emotion object where borders are being set. \\
\hline
{\em l} & The left border. \\
\hline
{\em r} & The right border. \\
\hline
{\em t} & The top border. \\
\hline
{\em b} & The bottom border.\\
\hline
\end{DoxyParams}
This function sets borders for the emotion video object (just when a video is present). When positive values are given to one of the parameters, a border will be added to the respective position of the object, representing that size on the original video size. However, if the video is scaled up or down (i.\+e. the emotion object size is different from the video size), the borders will be scaled respectively too.

If a negative value is given to one of the parameters, instead of a border, that respective side of the video will be cropped.

It\textquotesingle{}s possible to set a color for the added borders (default is transparent) with \hyperlink{group__Emotion__Video_gad4d18a546118b79145194ac4fafca142}{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set()}. By default, an Emotion object doesn\textquotesingle{}t have any border.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_ga8d03a0d31729294f5cc75c344bf5d5b5}{emotion\+\_\+object\+\_\+border\+\_\+get()} 

\hyperlink{group__Emotion__Video_gad4d18a546118b79145194ac4fafca142}{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set()} 
\end{DoxySeeAlso}


References E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+U\+S\+T\+OM, and evas\+\_\+object\+\_\+geometry\+\_\+get().

\mbox{\Hypertarget{group__Emotion__Video_ga8d03a0d31729294f5cc75c344bf5d5b5}\label{group__Emotion__Video_ga8d03a0d31729294f5cc75c344bf5d5b5}} 
\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+border\+\_\+get@{emotion\+\_\+object\+\_\+border\+\_\+get}}
\index{emotion\+\_\+object\+\_\+border\+\_\+get@{emotion\+\_\+object\+\_\+border\+\_\+get}!Video control functions@{Video control functions}}
\subsubsection{\texorpdfstring{emotion\+\_\+object\+\_\+border\+\_\+get()}{emotion\_object\_border\_get()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void emotion\+\_\+object\+\_\+border\+\_\+get (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj,  }\item[{int $\ast$}]{l,  }\item[{int $\ast$}]{r,  }\item[{int $\ast$}]{t,  }\item[{int $\ast$}]{b }\end{DoxyParamCaption})}



Get the borders set for the emotion object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The emotion object from which the borders are being retrieved. \\
\hline
{\em l} & The left border. \\
\hline
{\em r} & The right border. \\
\hline
{\em t} & The top border. \\
\hline
{\em b} & The bottom border.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_gaee753fa08ed25ceaea8b606de30dd667}{emotion\+\_\+object\+\_\+border\+\_\+set()} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Emotion__Video_gad4d18a546118b79145194ac4fafca142}\label{group__Emotion__Video_gad4d18a546118b79145194ac4fafca142}} 
\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set@{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set}}
\index{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set@{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set}!Video control functions@{Video control functions}}
\subsubsection{\texorpdfstring{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set()}{emotion\_object\_bg\_color\_set()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set (\begin{DoxyParamCaption}\item[{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj,  }\item[{int}]{r,  }\item[{int}]{g,  }\item[{int}]{b,  }\item[{int}]{a }\end{DoxyParamCaption})}



Set a color for the background rectangle of this emotion object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The emotion object where the background color is being set. \\
\hline
{\em r} & Red component of the color. \\
\hline
{\em g} & Green component of the color. \\
\hline
{\em b} & Blue component of the color. \\
\hline
{\em a} & Alpha channel of the color.\\
\hline
\end{DoxyParams}
This is useful when a border is added to any side of the Emotion object. The area between the edge of the video and the edge of the object will be filled with the specified color.

The default color is 0, 0, 0, 0 (transparent).

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_gac0f479da534e3d45d2495571cc681734}{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+get()} 
\end{DoxySeeAlso}


References evas\+\_\+object\+\_\+color\+\_\+set(), evas\+\_\+object\+\_\+hide(), evas\+\_\+object\+\_\+show(), and evas\+\_\+object\+\_\+visible\+\_\+get().

\mbox{\Hypertarget{group__Emotion__Video_gac0f479da534e3d45d2495571cc681734}\label{group__Emotion__Video_gac0f479da534e3d45d2495571cc681734}} 
\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+get@{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+get}}
\index{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+get@{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+get}!Video control functions@{Video control functions}}
\subsubsection{\texorpdfstring{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+get()}{emotion\_object\_bg\_color\_get()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+get (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj,  }\item[{int $\ast$}]{r,  }\item[{int $\ast$}]{g,  }\item[{int $\ast$}]{b,  }\item[{int $\ast$}]{a }\end{DoxyParamCaption})}



Get the background color set for the emotion object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The emotion object from which the background color is being retrieved. \\
\hline
{\em r} & Red component of the color. \\
\hline
{\em g} & Green component of the color. \\
\hline
{\em b} & Blue component of the color. \\
\hline
{\em a} & A\+Alpha channel of the color.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_gad4d18a546118b79145194ac4fafca142}{emotion\+\_\+object\+\_\+bg\+\_\+color\+\_\+set()} 
\end{DoxySeeAlso}


References evas\+\_\+object\+\_\+color\+\_\+get().

\mbox{\Hypertarget{group__Emotion__Video_ga553f99a710bc66a1b91fc1b25eb2a2d0}\label{group__Emotion__Video_ga553f99a710bc66a1b91fc1b25eb2a2d0}} 
\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+set@{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+set}}
\index{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+set@{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+set}!Video control functions@{Video control functions}}
\subsubsection{\texorpdfstring{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+set()}{emotion\_object\_keep\_aspect\_set()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+set (\begin{DoxyParamCaption}\item[{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj,  }\item[{\hyperlink{Emotion_8h_a905d7e9f5bd2ad43de39d174ffc9bf69}{Emotion\+\_\+\+Aspect}}]{a }\end{DoxyParamCaption})}



Set whether emotion should keep the aspect ratio of the video. 


\begin{DoxyParams}{Parameters}
{\em obj} & The emotion object where to set the aspect. \\
\hline
{\em a} & The aspect ratio policy.\\
\hline
\end{DoxyParams}
Instead of manually calculating the required border to set with \hyperlink{group__Emotion__Video_gaee753fa08ed25ceaea8b606de30dd667}{emotion\+\_\+object\+\_\+border\+\_\+set()}, and using this to fix the aspect ratio of the video when the emotion object has a different aspect, it\textquotesingle{}s possible to just set the policy to be used.

The options are\+:


\begin{DoxyItemize}
\item {\bfseries \hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61acc33e435364654694e6a614803cbe371}{E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+K\+E\+E\+P\+\_\+\+N\+O\+NE}} -\/ ignore the video aspect ratio, and reset any border set to 0, stretching the video inside the emotion object area. This option is similar to E\+V\+A\+S\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+O\+N\+T\+R\+O\+L\+\_\+\+N\+O\+NE size hint.
\item {\bfseries \hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61aec6ba7c7332158b49ee2c5614fb59c60}{E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+K\+E\+E\+P\+\_\+\+W\+I\+D\+TH}} -\/ respect the video aspect ratio, fitting the video width inside the object width. This option is similar to E\+V\+A\+S\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+O\+N\+T\+R\+O\+L\+\_\+\+H\+O\+R\+I\+Z\+O\+N\+T\+AL size hint.
\item {\bfseries \hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61a927124cab0fee543d0d558d279c266b4}{E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+K\+E\+E\+P\+\_\+\+H\+E\+I\+G\+HT}} -\/ respect the video aspect ratio, fitting the video height inside the object height. This option is similar to E\+V\+A\+S\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+O\+N\+T\+R\+O\+L\+\_\+\+V\+E\+R\+T\+I\+AL size hint.
\item {\bfseries \hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61a8cb5c2eb7a71ae678af55ab916eb8f4c}{E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+K\+E\+E\+P\+\_\+\+B\+O\+TH}} -\/ respect the video aspect ratio, fitting both its width and height inside the object area. This option is similar to E\+V\+A\+S\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+O\+N\+T\+R\+O\+L\+\_\+\+B\+O\+TH size hint. It\textquotesingle{}s the effect called letterboxing.
\item {\bfseries \hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61ab33362693bc471e3767e3578531a869c}{E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+R\+OP}} -\/ respect the video aspect ratio, fitting the width or height inside the object area, and cropping the exceding areas of the video in height or width. It\textquotesingle{}s the effect called pan-\/and-\/scan.
\item {\bfseries \hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61ab3aeb51050229c0794705217d54ae828}{E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+U\+S\+T\+OM}} -\/ ignore the video aspect ratio, and use the current set from \hyperlink{group__Emotion__Video_gaee753fa08ed25ceaea8b606de30dd667}{emotion\+\_\+object\+\_\+border\+\_\+set()}.
\end{DoxyItemize}

\begin{DoxyNote}{Note}
Calling this function with any value except \hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61ab3aeb51050229c0794705217d54ae828}{E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+U\+S\+T\+OM} will invalidate borders set with \hyperlink{group__Emotion__Video_gaee753fa08ed25ceaea8b606de30dd667}{emotion\+\_\+object\+\_\+border\+\_\+set()}.

Calling \hyperlink{group__Emotion__Video_gaee753fa08ed25ceaea8b606de30dd667}{emotion\+\_\+object\+\_\+border\+\_\+set()} will automatically set the aspect policy to \hyperlink{Emotion_8h_a9d25959669f5acad299eb432d4b4ac61ab3aeb51050229c0794705217d54ae828}{E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+C\+U\+S\+T\+OM}.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_gaee753fa08ed25ceaea8b606de30dd667}{emotion\+\_\+object\+\_\+border\+\_\+set()} 

\hyperlink{group__Emotion__Video_gac095aeaa018d8de102996439dbd7646d}{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+get()} 
\end{DoxySeeAlso}


References evas\+\_\+object\+\_\+geometry\+\_\+get().

\mbox{\Hypertarget{group__Emotion__Video_gac095aeaa018d8de102996439dbd7646d}\label{group__Emotion__Video_gac095aeaa018d8de102996439dbd7646d}} 
\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+get@{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+get}}
\index{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+get@{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+get}!Video control functions@{Video control functions}}
\subsubsection{\texorpdfstring{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+get()}{emotion\_object\_keep\_aspect\_get()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{Emotion_8h_a905d7e9f5bd2ad43de39d174ffc9bf69}{Emotion\+\_\+\+Aspect} emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+get (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the current emotion aspect ratio policy. 


\begin{DoxyParams}{Parameters}
{\em obj} & The emotion object from which we are fetching the aspect ratio policy. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The current aspect ratio policy.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_ga553f99a710bc66a1b91fc1b25eb2a2d0}{emotion\+\_\+object\+\_\+keep\+\_\+aspect\+\_\+set()} 
\end{DoxySeeAlso}


References E\+M\+O\+T\+I\+O\+N\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+K\+E\+E\+P\+\_\+\+N\+O\+NE.

\mbox{\Hypertarget{group__Emotion__Video_ga8edfce29000a58e41e1a8bca83ae66d8}\label{group__Emotion__Video_ga8edfce29000a58e41e1a8bca83ae66d8}} 
\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+ratio\+\_\+get@{emotion\+\_\+object\+\_\+ratio\+\_\+get}}
\index{emotion\+\_\+object\+\_\+ratio\+\_\+get@{emotion\+\_\+object\+\_\+ratio\+\_\+get}!Video control functions@{Video control functions}}
\subsubsection{\texorpdfstring{emotion\+\_\+object\+\_\+ratio\+\_\+get()}{emotion\_object\_ratio\_get()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} double emotion\+\_\+object\+\_\+ratio\+\_\+get (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj }\end{DoxyParamCaption})}



Retrieve the video aspect ratio of the media file loaded. 


\begin{DoxyParams}{Parameters}
{\em obj} & The emotion object which the video aspect ratio will be retrieved from. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The video aspect ratio of the file loaded.
\end{DoxyReturn}
This function returns the video aspect ratio (width / height) of the file loaded. It can be used to adapt the size of the emotion object in the canvas, so the aspect won\textquotesingle{}t be changed (by wrongly resizing the object). Or to crop the video correctly, if necessary.

The described behavior can be applied like following. Consider a given emotion object that we want to position inside an area, which we will represent by {\ttfamily w} and {\ttfamily h}. Since we want to position this object either stretching, or filling the entire area but overflowing the video, or just adjust the video to fit inside the area without keeping the aspect ratio, we must compare the video aspect ratio with the area aspect ratio\+: 
\begin{DoxyCode}
\textcolor{keywordtype}{int} w = 200, h = 300; \textcolor{comment}{// an arbitrary value which represents the area where}
                      \textcolor{comment}{// the video would be placed}
\textcolor{keywordtype}{int} vw, vh;
\textcolor{keywordtype}{double} r, vr = \hyperlink{group__Emotion__Video_ga8edfce29000a58e41e1a8bca83ae66d8}{emotion\_object\_ratio\_get}(obj);
r = (double)w / h;
\end{DoxyCode}


Now, if we want to make the video fit inside the area, the following code would do it\+: 
\begin{DoxyCode}
\textcolor{keywordflow}{if} (vr > r) \textcolor{comment}{// the video is wider than the area}
  \{
     vw = w;
     vh = w / vr;
  \}
\textcolor{keywordflow}{else} \textcolor{comment}{// the video is taller than the area}
  \{
     vh = h;
     vw = h * vr;
  \}
\hyperlink{group__Evas__Font__Group_ga21e8604c0e4a93e469bff4bd069e82b5}{evas\_object\_resize}(obj, vw, vh);
\end{DoxyCode}


And for keeping the aspect ratio but making the video fill the entire area, overflowing the content which can\textquotesingle{}t fit inside it, we would do\+: 
\begin{DoxyCode}
\textcolor{keywordflow}{if} (vr > r) \textcolor{comment}{// the video is wider than the area}
  \{
     vh = h;
     vw = h * vr;
  \}
\textcolor{keywordflow}{else} \textcolor{comment}{// the video is taller than the area}
  \{
     vw = w;
     vh = w / vr;
  \}
\hyperlink{group__Evas__Font__Group_ga21e8604c0e4a93e469bff4bd069e82b5}{evas\_object\_resize}(obj, vw, vh);
\end{DoxyCode}


Finally, by just resizing the video to the video area, we would have the video stretched\+: 
\begin{DoxyCode}
vw = w;
vh = h;
\hyperlink{group__Evas__Font__Group_ga21e8604c0e4a93e469bff4bd069e82b5}{evas\_object\_resize}(obj, vw, vh);
\end{DoxyCode}


The following diagram exemplifies what would happen to the video, respectively, in each case\+:

 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth]{emotion_ratio}}
\end{DoxyImageNoCaption}


\begin{DoxyNote}{Note}
This function returns the aspect ratio that the video {\bfseries should} be, but sometimes the reported size from \hyperlink{group__Emotion__Video_ga43910636929c5488347a022b9305b029}{emotion\+\_\+object\+\_\+size\+\_\+get()} represents a different aspect ratio. You can safely resize the video to respect the aspect ratio returned by {\bfseries this} function.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_ga43910636929c5488347a022b9305b029}{emotion\+\_\+object\+\_\+size\+\_\+get()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{emotion_signals_example_8c-example}{emotion\+\_\+signals\+\_\+example.\+c}.\end{Desc}
\mbox{\Hypertarget{group__Emotion__Video_ga43910636929c5488347a022b9305b029}\label{group__Emotion__Video_ga43910636929c5488347a022b9305b029}} 
\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+size\+\_\+get@{emotion\+\_\+object\+\_\+size\+\_\+get}}
\index{emotion\+\_\+object\+\_\+size\+\_\+get@{emotion\+\_\+object\+\_\+size\+\_\+get}!Video control functions@{Video control functions}}
\subsubsection{\texorpdfstring{emotion\+\_\+object\+\_\+size\+\_\+get()}{emotion\_object\_size\_get()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void emotion\+\_\+object\+\_\+size\+\_\+get (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj,  }\item[{int $\ast$}]{iw,  }\item[{int $\ast$}]{ih }\end{DoxyParamCaption})}



Retrieve the video size of the loaded file. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object from which we are retrieving the video size. \\
\hline
{\em iw} & A pointer to a variable where the width will be stored. \\
\hline
{\em ih} & A pointer to a variable where the height will be stored.\\
\hline
\end{DoxyParams}
This function returns the reported size of the loaded video file. If a file that doesn\textquotesingle{}t contain a video channel is loaded, then this size can be ignored.

The value reported by this function should be consistent with the aspect ratio returned by \hyperlink{group__Emotion__Video_ga8edfce29000a58e41e1a8bca83ae66d8}{emotion\+\_\+object\+\_\+ratio\+\_\+get()}, but sometimes the information stored in the file is wrong. So use the ratio size reported by \hyperlink{group__Emotion__Video_ga8edfce29000a58e41e1a8bca83ae66d8}{emotion\+\_\+object\+\_\+ratio\+\_\+get()}, since it is more likely going to be accurate.

\begin{DoxyNote}{Note}
Use {\ttfamily N\+U\+LL} for {\ttfamily iw} or {\ttfamily ih} if you don\textquotesingle{}t need one of these values.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_ga8edfce29000a58e41e1a8bca83ae66d8}{emotion\+\_\+object\+\_\+ratio\+\_\+get()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{emotion_signals_example_8c-example}{emotion\+\_\+signals\+\_\+example.\+c}.\end{Desc}
\mbox{\Hypertarget{group__Emotion__Video_gaae5ed5bc593be6d3c8ba9b77a4c9ff7d}\label{group__Emotion__Video_gaae5ed5bc593be6d3c8ba9b77a4c9ff7d}} 
\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+set@{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+set}}
\index{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+set@{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+set}!Video control functions@{Video control functions}}
\subsubsection{\texorpdfstring{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+set()}{emotion\_object\_smooth\_scale\_set()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+set (\begin{DoxyParamCaption}\item[{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj,  }\item[{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}]{smooth }\end{DoxyParamCaption})}



Sets whether to use of high-\/quality image scaling algorithm of the given video object. 

When enabled, a higher quality video scaling algorithm is used when scaling videos to sizes other than the source video. This gives better results but is more computationally expensive.


\begin{DoxyParams}{Parameters}
{\em obj} & The given video object. \\
\hline
{\em smooth} & Whether to use smooth scale or not.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_ga88eacf2ed96d36989ab558d445d24cb9}{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+get()} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Emotion__Video_ga88eacf2ed96d36989ab558d445d24cb9}\label{group__Emotion__Video_ga88eacf2ed96d36989ab558d445d24cb9}} 
\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+get@{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+get}}
\index{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+get@{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+get}!Video control functions@{Video control functions}}
\subsubsection{\texorpdfstring{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+get()}{emotion\_object\_smooth\_scale\_get()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+get (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj }\end{DoxyParamCaption})}



Gets whether the high-\/quality image scaling algorithm of the given video object is used. 


\begin{DoxyParams}{Parameters}
{\em obj} & The given video object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Whether the smooth scale is used or not.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_gaae5ed5bc593be6d3c8ba9b77a4c9ff7d}{emotion\+\_\+object\+\_\+smooth\+\_\+scale\+\_\+set()} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Emotion__Video_gab01124714bf0633b7552c97152022233}\label{group__Emotion__Video_gab01124714bf0633b7552c97152022233}} 
\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set@{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set}}
\index{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set@{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set}!Video control functions@{Video control functions}}
\subsubsection{\texorpdfstring{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set()}{emotion\_object\_video\_mute\_set()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set (\begin{DoxyParamCaption}\item[{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj,  }\item[{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}]{mute }\end{DoxyParamCaption})}



Set the mute video option for this object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object which we are setting the mute video option. \\
\hline
{\em mute} & Whether the video should be muted ({\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE}) or not ({\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE}).\\
\hline
\end{DoxyParams}
This function sets the mute video option for this emotion object. The current module used for this object can use this information to avoid decoding the video portion of the loaded media file.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_ga13d66221d0ea3dee256b138bf3d0ff64}{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+get()} 

\hyperlink{group__Emotion__Audio_gabf1691c216e1ffd394a59d164a26c880}{emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+set()} 
\end{DoxySeeAlso}


References D\+BG.

\mbox{\Hypertarget{group__Emotion__Video_ga13d66221d0ea3dee256b138bf3d0ff64}\label{group__Emotion__Video_ga13d66221d0ea3dee256b138bf3d0ff64}} 
\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+get@{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+get}}
\index{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+get@{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+get}!Video control functions@{Video control functions}}
\subsubsection{\texorpdfstring{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+get()}{emotion\_object\_video\_mute\_get()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+get (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the mute video option of this object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object which we are retrieving the mute video option from. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Whether the video is muted ({\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE}) or not ({\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE}).
\end{DoxyReturn}
This function returns the mute video option from this emotion object. It can be set with \hyperlink{group__Emotion__Video_gab01124714bf0633b7552c97152022233}{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set()}.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_gab01124714bf0633b7552c97152022233}{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set()} 
\end{DoxySeeAlso}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+SE.

\mbox{\Hypertarget{group__Emotion__Video_ga41b3d5c74c826a4d75c59b02eb9a39ce}\label{group__Emotion__Video_ga41b3d5c74c826a4d75c59b02eb9a39ce}} 
\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+set@{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+set}}
\index{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+set@{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+set}!Video control functions@{Video control functions}}
\subsubsection{\texorpdfstring{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+set()}{emotion\_object\_video\_subtitle\_file\_set()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+set (\begin{DoxyParamCaption}\item[{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj,  }\item[{const char $\ast$}]{filepath }\end{DoxyParamCaption})}



Set the video\textquotesingle{}s subtitle file path. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object which we are setting a subtitle file path. \\
\hline
{\em filepath} & The subtitle file path.\\
\hline
\end{DoxyParams}
This function sets a video\textquotesingle{}s subtitle file path(i.\+e an .srt file) for supported subtitle formats consult the backend\textquotesingle{}s documentation.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_gac0624acb15bfa9261f7c2cc855a84e9e}{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+get()}.
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References D\+BG.

\mbox{\Hypertarget{group__Emotion__Video_gac0624acb15bfa9261f7c2cc855a84e9e}\label{group__Emotion__Video_gac0624acb15bfa9261f7c2cc855a84e9e}} 
\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+get@{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+get}}
\index{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+get@{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+get}!Video control functions@{Video control functions}}
\subsubsection{\texorpdfstring{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+get()}{emotion\_object\_video\_subtitle\_file\_get()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} const char$\ast$ emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+get (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the video\textquotesingle{}s subtitle file path. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object which we are retrieving the subtitle file path from. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The video\textquotesingle{}s subtitle file path previously set, N\+U\+LL otherwise.
\end{DoxyReturn}
This function returns the video\textquotesingle{}s subtitle file path, if not previously set or in error N\+U\+LL is returned.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_ga41b3d5c74c826a4d75c59b02eb9a39ce}{emotion\+\_\+object\+\_\+video\+\_\+subtitle\+\_\+file\+\_\+set()}.
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Emotion__Video_ga823c30f96580cd8cf9081eb27e9e9c16}\label{group__Emotion__Video_ga823c30f96580cd8cf9081eb27e9e9c16}} 
\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+count@{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+count}}
\index{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+count@{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+count}!Video control functions@{Video control functions}}
\subsubsection{\texorpdfstring{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+count()}{emotion\_object\_video\_channel\_count()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} int emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+count (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the number of available video channel. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object which we are retrieving the channel count from \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the number of available channel.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_ga1f1b0d9ad0d5cf2529315591e216714e}{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+name\+\_\+get()} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Emotion__Video_ga1f1b0d9ad0d5cf2529315591e216714e}\label{group__Emotion__Video_ga1f1b0d9ad0d5cf2529315591e216714e}} 
\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+name\+\_\+get@{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+name\+\_\+get}}
\index{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+name\+\_\+get@{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+name\+\_\+get}!Video control functions@{Video control functions}}
\subsubsection{\texorpdfstring{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+name\+\_\+get()}{emotion\_object\_video\_channel\_name\_get()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} const char$\ast$ emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+name\+\_\+get (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj,  }\item[{int}]{channel }\end{DoxyParamCaption})}



Get the name of a given video channel. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object which we are retrieving the channel name from \\
\hline
{\em channel} & the channel number \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the channel name.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Video_ga823c30f96580cd8cf9081eb27e9e9c16}{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+count()} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Emotion__Video_gaec4218bfc5b7ace2e8aadc62a9bc18ef}\label{group__Emotion__Video_gaec4218bfc5b7ace2e8aadc62a9bc18ef}} 
\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+set@{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+set}}
\index{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+set@{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+set}!Video control functions@{Video control functions}}
\subsubsection{\texorpdfstring{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+set()}{emotion\_object\_video\_channel\_set()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+set (\begin{DoxyParamCaption}\item[{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj,  }\item[{int}]{channel }\end{DoxyParamCaption})}



Set the channel for a given video object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The target object which we are setting the channel \\
\hline
{\em channel} & the channel number to be setted. \\
\hline
\end{DoxyParams}


References D\+BG.

\mbox{\Hypertarget{group__Emotion__Video_gaa5bfc188973e2ec6c28fc4a37c28bd08}\label{group__Emotion__Video_gaa5bfc188973e2ec6c28fc4a37c28bd08}} 
\index{Video control functions@{Video control functions}!emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+get@{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+get}}
\index{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+get@{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+get}!Video control functions@{Video control functions}}
\subsubsection{\texorpdfstring{emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+get()}{emotion\_object\_video\_channel\_get()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} int emotion\+\_\+object\+\_\+video\+\_\+channel\+\_\+get (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the channel for a given video object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The target object which we are getting the channel \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The current channel number. 
\end{DoxyReturn}
