Commit 8c967b01 authored by Sébastien Escudier's avatar Sébastien Escudier Committed by Rémi Denis-Courmont

Remove uneeded exceptions

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 70bd7e61
...@@ -424,7 +424,6 @@ float libvlc_vlm_get_media_instance_position( libvlc_instance_t *p_instance, ...@@ -424,7 +424,6 @@ float libvlc_vlm_get_media_instance_position( libvlc_instance_t *p_instance,
vlm_media_instance_Delete( p_mi ); vlm_media_instance_Delete( p_mi );
return result; return result;
} }
libvlc_exception_raise( p_exception, "Unable to get position attribute" );
return result; return result;
} }
...@@ -441,7 +440,6 @@ int libvlc_vlm_get_media_instance_time( libvlc_instance_t *p_instance, ...@@ -441,7 +440,6 @@ int libvlc_vlm_get_media_instance_time( libvlc_instance_t *p_instance,
vlm_media_instance_Delete( p_mi ); vlm_media_instance_Delete( p_mi );
return result; return result;
} }
libvlc_exception_raise( p_exception, "Unable to get time attribute" );
return result; return result;
} }
...@@ -459,7 +457,6 @@ int libvlc_vlm_get_media_instance_length( libvlc_instance_t *p_instance, ...@@ -459,7 +457,6 @@ int libvlc_vlm_get_media_instance_length( libvlc_instance_t *p_instance,
vlm_media_instance_Delete( p_mi ); vlm_media_instance_Delete( p_mi );
return result; return result;
} }
libvlc_exception_raise( p_exception, "Unable to get length attribute" );
return result; return result;
} }
...@@ -476,7 +473,6 @@ int libvlc_vlm_get_media_instance_rate( libvlc_instance_t *p_instance, ...@@ -476,7 +473,6 @@ int libvlc_vlm_get_media_instance_rate( libvlc_instance_t *p_instance,
vlm_media_instance_Delete( p_mi ); vlm_media_instance_Delete( p_mi );
return result; return result;
} }
libvlc_exception_raise( p_exception, "Unable to get rate attribute" );
return result; return result;
} }
...@@ -492,7 +488,6 @@ int libvlc_vlm_get_media_instance_title( libvlc_instance_t *p_instance, ...@@ -492,7 +488,6 @@ int libvlc_vlm_get_media_instance_title( libvlc_instance_t *p_instance,
vlm_media_instance_Delete( p_mi ); vlm_media_instance_Delete( p_mi );
return result; return result;
} }
libvlc_exception_raise( p_exception, "Unable to get title attribute" );
return result; return result;
} }
...@@ -509,7 +504,6 @@ int libvlc_vlm_get_media_instance_chapter( libvlc_instance_t *p_instance, ...@@ -509,7 +504,6 @@ int libvlc_vlm_get_media_instance_chapter( libvlc_instance_t *p_instance,
vlm_media_instance_Delete( p_mi ); vlm_media_instance_Delete( p_mi );
return result; return result;
} }
libvlc_exception_raise( p_exception, "Unable to get chapter attribute" );
return result; return result;
} }
...@@ -526,6 +520,5 @@ int libvlc_vlm_get_media_instance_seekable( libvlc_instance_t *p_instance, ...@@ -526,6 +520,5 @@ int libvlc_vlm_get_media_instance_seekable( libvlc_instance_t *p_instance,
vlm_media_instance_Delete( p_mi ); vlm_media_instance_Delete( p_mi );
return result; return result;
} }
libvlc_exception_raise( p_exception, "Unable to get seekable attribute" );
return result; return result;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment